]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagxpm.cpp
added test for wxScopeGuard
[wxWidgets.git] / src / common / imagxpm.cpp
index 7da5a26011e57b88f24156c35808313d489d6928..5e8db820c959131a90a6d5e2b95b604b6b88c831 100644 (file)
@@ -180,7 +180,7 @@ bool wxXPMHandler::SaveFile(wxImage * image,
 
     // 2b. generate colour table:
     for (wxImageHistogram::iterator entry = histogram.begin();
-         entry != histogram.end(); entry++ )
+         entry != histogram.end(); ++entry )
     {
         unsigned long index = entry->second.index;
         symbols[index] = symbols_data + index * (chars_per_pixel+1);