Revision: 4289
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4289&view=rev
Author: atkac
Date: 2011-02-14 14:21:16 +0000 (Mon, 14 Feb 2011)
Log Message:
-----------
[Bugfix] Fix wrong if() in the ScaledPixelBuffer::setSourceBuffer().
Resolves #3178498 bug report.
Modified Paths:
--------------
trunk/common/rfb/ScaledPixelBuffer.cxx
Modified: trunk/common/rfb/ScaledPixelBuffer.cxx
===================================================================
--- trunk/common/rfb/ScaledPixelBuffer.cxx 2011-02-10 23:15:33 UTC (rev
4288)
+++ trunk/common/rfb/ScaledPixelBuffer.cxx 2011-02-14 14:21:16 UTC (rev
4289)
@@ -75,7 +75,7 @@
}
void ScaledPixelBuffer::setSourceBuffer(U8 **src_data_, int w, int h) {
- if (w > 0 && h > 0 && src_data != NULL) {
+ if (w > 0 && h > 0 && src_data_ != NULL) {
freeWeightTabs();
src_data = src_data_;
src_width = w;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits