wok-6.x annotate xfe/stuff/gcc-4.patch @ rev 12480
Up: util-linux (2.21.1) no longer util-linux-ng
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:19:05 2012 +0200 (2012-04-23) |
parents | |
children |
rev | line source |
---|---|
pankso@4230 | 1 --- src/ViewWindow.cpp Thu Sep 24 14:54:17 2009 |
pankso@4230 | 2 +++ src/ViewWindow.cpp Thu Sep 24 14:55:42 2009 |
pankso@4230 | 3 @@ -655,7 +655,7 @@ |
pankso@4230 | 4 { |
pankso@4230 | 5 FXString buf=viewer->getText(); |
pankso@4230 | 6 const char* text=buf.text(); |
pankso@4230 | 7 - char *p = strstr(&text[pos],str.text()); |
pankso@4230 | 8 + const char *p = strstr(&text[pos],str.text()); |
pankso@4230 | 9 if(!p) |
pankso@4230 | 10 return -1; |
pankso@4230 | 11 return (p-text); |