Age | Commit message (Collapse) | Author |
|
Since no prototype for Fchangercurseurpersos was given, a nasty
exception was raised when we passed an invalid data to this function.
By providing its prototype, the compiler gives us a clue about the usage
of an invalid pointer type that we can fix.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
since gcc produces warnings when default cases are not handled, make it
happy.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
h/j/k/l are mapped to behave like arrow keys so that the navigation is
easier in the menus.
F and A are respectiverly used to validate and cancel as well.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Accents in the content of certain files made them react as binary files.
Fixed by converting them to Unicode.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
we used to try to open an image whose filename is wrong. Since we do not
check the return of this function, the program crashes.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
it is safe to pass a null pointer to SDL_FreeSurface()
BTW: change the format of the files from dos to unix
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|
|
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
|