]> Shamusworld >> Repos - stargem2/blobdiff - src/sdlemu_config.cpp
Finally fixed problems with demo mode.
[stargem2] / src / sdlemu_config.cpp
old mode 100755 (executable)
new mode 100644 (file)
index 5b063ea..60b7b45
@@ -1,6 +1,6 @@
 /*
  * SDLEMU library - Free sdl related functions library
- * Copyrigh(c) 1999-2002 sdlemu development crew
+ * Copyright (C) 1999-2002 sdlemu development crew
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -84,7 +84,7 @@ int sdlemu_init_config(const char *filename)
        fseek(f, 0, SEEK_SET);
 
        char *s = new char[len];
-       fread(s, 1, len, f);
+       size_t unused = fread(s, 1, len, f);
        string str(s);
 
        const string delim = "\n\r";            // "\r" needed for Win32 compatibility...