Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs16:/tmp/cvs-serv26225/src Modified Files: defaults.c Log Message: Ckeymaps now save. Minor blank-line fixes. Index: defaults.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/defaults.c,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- defaults.c 9 Apr 2007 11:07:19 -0000 1.73 +++ defaults.c 9 Apr 2007 11:31:36 -0000 1.74 @@ -2210,6 +2210,18 @@ if (saveBig && strlen (str) != 0) fputs ("\n", fp); + // Ckeymap + if (saveBig && (adefault = stringDefault ("ckeymap")) != 0) + fputs ("# Control-key key mapping\n", fp); + + if (adefault) + { + sprintf (str, "ckeymap: %s\n", adefault); + fputs (str, fp); + } + if (saveBig && adefault) + fputs ("\n", fp); + // Let's print buttonmap str[0] = '\0'; str1[0] = '\0'; @@ -3340,8 +3352,6 @@ fputs (str, fp); } } - if (saveBig) - fputs ("\n", fp); // Servername/nick/observer settings sl = defaults;