Minor comment/whitespace cleaning

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@399 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2008-01-01 20:57:50 +00:00
parent d15a30cf3e
commit eb2fdc2629
3 changed files with 5 additions and 27 deletions

View File

@ -93,7 +93,6 @@ extern int editor_main (int argc, char **argv);
/* global variables */
char * __progname;
/*char rcfilename[80];*/
#ifndef USE_SQLITE3
int f_num = 0;
@ -1745,9 +1744,6 @@ gamemenuloop(int game)
break;
case 'q':
return 0;
/* endwin ();
graceful_exit(0);*/
/* break; */
case 'r':
if (!loggedin && globalconfig.allow_registration)
newuser ();
@ -2106,22 +2102,6 @@ main (int argc, char** argv)
myconfig[userchoice]->bin_args[i] = tmp;
}
/*
if (myconfig[userchoice]->mkdir) {
tmp = strdup(dgl_format_str(userchoice, me, myconfig[userchoice]->mkdir));
free(myconfig[userchoice]->mkdir);
myconfig[userchoice]->mkdir = tmp;
}
*/
/*
if (myconfig[userchoice]->chdir) {
tmp = strdup(dgl_format_str(userchoice, me, myconfig[userchoice]->chdir));
free(myconfig[userchoice]->chdir);
myconfig[userchoice]->chdir = tmp;
}
*/
/* launch program */
ttyrec_main (userchoice, me->username, gen_ttyrec_filename());

View File

@ -69,7 +69,6 @@ struct dg_config
char* shortname;
char* rcfile;
char* spool;
/*char* savefilefmt;*/
char* inprogressdir;
int num_args; /* # of bin_args */
char **bin_args; /* args for game binary */

View File

@ -45,7 +45,6 @@ struct dg_config defconfig = {
char* config = NULL;
int silent = 0;
/*int set_max = 0;*/ /* XXX */
int loggedin = 0;
char *chosen_name;
int num_games = 0;