You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/dawn/files/dawn-3.90b-gcc7.patch

22 lines
513 B

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 );