blob: e144a38df8f07836564050abd65067a938f215ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Bug: https://bugs.gentoo.org/638616
--- a/FRString.h
+++ b/FRString.h
@@ -137,13 +137,13 @@
char* p = m_string ;
// skip first blank if any
- while( isspace(*p) && p != '\0' ) {p++;}
+ while( isspace(*p) && *p != '\0' ) {p++;}
// skip one word
- while( !isspace(*p) && p != '\0' ) {p++;}
+ while( !isspace(*p) && *p != '\0' ) {p++;}
// skip second blank if any
- while( isspace(*p) && p != '\0' ) {p++;}
+ while( isspace(*p) && *p != '\0' ) {p++;}
// reset string
strcpy( tmp, p );
|