Revision: 4938 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4938&view=rev Author: ossman_ Date: 2012-07-18 14:27:37 +0000 (Wed, 18 Jul 2012) Log Message: ----------- Forgot to initialise the iterator index properly.
Modified Paths: -------------- trunk/unix/xserver/hw/vnc/XserverDesktop.cc Modified: trunk/unix/xserver/hw/vnc/XserverDesktop.cc =================================================================== --- trunk/unix/xserver/hw/vnc/XserverDesktop.cc 2012-07-17 13:54:37 UTC (rev 4937) +++ trunk/unix/xserver/hw/vnc/XserverDesktop.cc 2012-07-18 14:27:37 UTC (rev 4938) @@ -296,7 +296,7 @@ { RRModePtr mode; - for (int i;i < output->numModes;i++) { + for (int i = 0;i < output->numModes;i++) { if ((output->modes[i]->mode.width == width) && (output->modes[i]->mode.height == height)) return output->modes[i]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits