wok diff xfe/stuff/gcc-4.patch @ rev 9626

Fixed cowpatty. dict file should be in /usr/share/cowpatty folder instead of /usr/share folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 24 21:47:17 2011 +0000 (2011-04-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfe/stuff/gcc-4.patch	Sun Apr 24 21:47:17 2011 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- src/ViewWindow.cpp	Thu Sep 24 14:54:17 2009
     1.5 ++++ src/ViewWindow.cpp	Thu Sep 24 14:55:42 2009
     1.6 +@@ -655,7 +655,7 @@
     1.7 + {
     1.8 +     FXString buf=viewer->getText();
     1.9 +     const char* text=buf.text();
    1.10 +-    char *p = strstr(&text[pos],str.text());
    1.11 ++    const char *p = strstr(&text[pos],str.text());
    1.12 +     if(!p)
    1.13 +         return -1;
    1.14 +     return (p-text);