wok-6.x view xfe/stuff/gcc-4.patch @ rev 19509

syslinux: create /etc/slitaz-version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 21 09:32:06 2016 +0100 (2016-11-21)
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);