Changeset 614 for abuse/trunk/src/sdlport/setup.cpp
- Timestamp:
- May 9, 2011, 12:55:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/sdlport/setup.cpp
r555 r614 93 93 if( (fd = fopen( rcfile, "w" )) != NULL ) 94 94 { 95 char datadir[255];96 strncpy(datadir, EXPDATADIR, 255);97 98 95 fputs( "; Abuse-SDL Configuration file\n\n", fd ); 99 96 fputs( "; Startup fullscreen\nfullscreen=0\n\n", fd ); … … 105 102 fputs( "; Use OpenGL\ngl=0\n\n", fd ); 106 103 fputs( "; Location of the datafiles\ndatadir=", fd ); 107 fputs( datadir, fd ); 108 fputs( "\n\n", fd ); 104 fputs( ASSETSDIR "\n\n", fd ); 109 105 #endif 110 106 fputs( "; Use mono audio only\nmono=0\n\n", fd ); … … 434 430 set_filename_prefix( (const char*)buffer ); 435 431 #else 436 set_filename_prefix( EXPDATADIR );432 set_filename_prefix( ASSETSDIR ); 437 433 #endif 438 434
Note: See TracChangeset
for help on using the changeset viewer.