wok-next view xfe/stuff/gcc-4.patch @ rev 8234

Up: get-LibreOffice (v1.1.9 for stable v3.3.0) - will need fix for next release as this contains fix for incorrect archive packaging.
author Ben Arnold <ben@seawolfsanctuary.com>
date Thu Jan 27 07:36:43 2011 +0000 (2011-01-27)
parents
children
line source
1 --- src/ViewWindow.cpp Thu Sep 24 14:54:17 2009
2 +++ src/ViewWindow.cpp Thu Sep 24 14:55:42 2009
3 @@ -655,7 +655,7 @@
4 {
5 FXString buf=viewer->getText();
6 const char* text=buf.text();
7 - char *p = strstr(&text[pos],str.text());
8 + const char *p = strstr(&text[pos],str.text());
9 if(!p)
10 return -1;
11 return (p-text);