Revision: 2226 http://geany.svn.sourceforge.net/geany/?rev=2226&view=rev Author: eht16 Date: 2008-02-05 03:24:26 -0800 (Tue, 05 Feb 2008)
Log Message: ----------- Fix definition of PLAT_GTK_WIN32 on Windows to fix Copy&Paste problems.
Modified Paths: -------------- trunk/ChangeLog trunk/scintilla/include/Platform.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-02-05 11:17:59 UTC (rev 2225) +++ trunk/ChangeLog 2008-02-05 11:24:26 UTC (rev 2226) @@ -1,3 +1,9 @@ +2008-02-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * scintilla/include/Platform.h: Fix definition of PLAT_GTK_WIN32 on + Windows to fix Copy&Paste problems. + + 2008-02-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Modified: trunk/scintilla/include/Platform.h =================================================================== --- trunk/scintilla/include/Platform.h 2008-02-05 11:17:59 UTC (rev 2225) +++ trunk/scintilla/include/Platform.h 2008-02-05 11:24:26 UTC (rev 2226) @@ -33,7 +33,7 @@ #undef PLAT_GTK #define PLAT_GTK 1
-#ifdef _MSC_VER +#ifdef G_OS_WIN32 #undef PLAT_GTK_WIN32 #define PLAT_GTK_WIN32 1 #endif @@ -122,7 +122,7 @@ } int Width() { return right - left; } int Height() { return bottom - top; } - bool Empty() { + bool Empty() { return (Height() <= 0) || (Width() <= 0); } };
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.