blob: a1ab7616a645883f400bde2d0f3db916b32fa031 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -ru slimevolley-2.4.1.orig/src/themes_std.c slimevolley-2.4.1/src/themes_std.c
--- slimevolley-2.4.1.orig/src/themes_std.c 2008-11-30 04:36:52.000000000 -0500
+++ slimevolley-2.4.1/src/themes_std.c 2010-05-05 13:00:23.875723904 -0400
@@ -30,7 +30,6 @@
#include "audio.h"
#include "themes.h"
-#define DATA_LOCAL "data"
#define DOSS_THEMES "themes"
#define DOSS_SLIMES "slimes"
#define SLIME_D_NOM "slimeJD%d.png"
@@ -74,10 +73,7 @@
chemin[0] = '\0';
if(var_env == NULL) {
- if(access(DATA_LOCAL, R_OK | X_OK) == 0) {
- strncpy(chemin, DATA_LOCAL, sizeof(chemin) - 1);
-
- } else if(access(DATA_DIR, R_OK | X_OK) == 0) {
+ if(access(DATA_DIR, R_OK | X_OK) == 0) {
strncpy(chemin, DATA_DIR, sizeof(chemin) - 1);
}
|