[Freeciv-Dev] Weird statement
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Searching for a solution to the "allow comments in every server
command" problem I found this one: server/stdinhand.c
/* commands may be prefixed with SERVER_COMMAND_PREFIX,
even when given on the server command line - rp */
if (*cptr_s == SERVER_COMMAND_PREFIX) cptr_s++;
for(cptr_s=str; *cptr_s && !isalnum(*cptr_s); cptr_s++);
The if has no effect since the first statement of the for loop
"cptr_s=str" overwrites it. Correct?!
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Are you saying that you actually used the Classpath Java AWT classes in
addition to the GTK peers and got them to display something?
Wow. That's way better than I did and I wrote the code!"
-- Aaron M. Renn in the classpath mailing list
- [Freeciv-Dev] Weird statement,
Raimar Falke <=
|
|