HI ALL,
im a bit of a noob when it comes to applying patches on linux so i wondered if someone could walk me through applying the host_error: patch ( this one
--- branches/nexuiz-2.0/data/qcsrc/common/util.qc 2006/08/20 10:56:27 1829
+++ branches/nexuiz-2.0/data/qcsrc/common/util.qc 2006/08/23 16:27:29 1850
@@ -25,7 +25,14 @@
}
else
{
- for (j = i;j < strlen(s);j++)
+ for (j = i+1;j < strlen(s);j++)
+ // ^^ this skips over the first character of a word, which
+ // is ALWAYS part of the word
+ // this is safe since if i+1 == strlen(s), i will become
+ // strlen(s)-1 at the end of this block and the function
+ // will terminate. A space can't be the first character we
+ // read here, and neither can a \n be the start, since these
+ // two cases have been handled above.
{
c = substring(s, j, 1);
if (c == " ")
#
thanks