Changeset 149
- Timestamp:
- Jun 24, 2008, 5:50:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/sdlport/setup.cpp
r129 r149 90 90 if( (fd = fopen( rcfile, "w" )) != NULL ) 91 91 { 92 char datadir[255]; 93 strncpy(datadir, EXPDATADIR, 255); 94 92 95 fputs( "; Abuse-SDL Configuration file\n\n", fd ); 93 96 fputs( "; Startup fullscreen\nfullscreen=0\n\n", fd ); … … 98 101 fputs( "; Use DoubleBuffering\ndoublebuf=0\n\n", fd ); 99 102 fputs( "; Use OpenGL\ngl=0\n\n", fd ); 100 fputs( "; Location of the datafiles\ndatadir=/var/games/abuse\n\n", fd ); 103 fputs( "; Location of the datafiles\ndatadir=", fd ); 104 fputs( datadir, fd ); 105 fputs( "\n\n", fd ); 101 106 #endif 102 107 fputs( "; Use mono audio only\nmono=0\n\n", fd );
Note: See TracChangeset
for help on using the changeset viewer.