This page contains the following errors:

error on line 87 at column 89: Encoding error

Below is a rendering of the page up to the first error.

patthoyts.tk Git - anagramarama/commitdiff
Use a macro to indicate the space character substitution.
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 17 Jun 2010 00:00:02 +0000 (01:00 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 17 Jun 2010 00:00:02 +0000 (01:00 +0100)
It is somewhat safer to avoid non-ASCII characters in the source files
so avoid potential encoding issues on non-English platforms. And we may
as well use the # char as anything else. Macroified all usage of this
character and cleaned the errors reported by gcc for unchecked results.
Use fseek rather than reopening the wordlist file to start again.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
src/ag.c
src/ag.h

index df1070df4d17da92d38f01b00bf4f161b43b2994..9d005b7d187aeec423ffab8b2a5330fd4c60288a 100644 (file)
--- a/src/ag.c
+++ b/src/ag.c
@@ -75,9 +75,9 @@
 #endif
 
 /* module level variables for game control */
-char shuffle[