public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-arcade/slimevolley/files: slimevolley-2.4.2-nodatalocal.patch
@ 2010-11-30 19:54 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2010-11-30 19:54 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    10/11/30 19:54:03

  Added:                slimevolley-2.4.2-nodatalocal.patch
  Log:
  version bump
  
  (Portage version: 2.1.9.24/cvs/Linux i686)

Revision  Changes    Path
1.1                  games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch?rev=1.1&content-type=text/plain

Index: slimevolley-2.4.2-nodatalocal.patch
===================================================================
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);
 		}
 	






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-30 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30 19:54 [gentoo-commits] gentoo-x86 commit in games-arcade/slimevolley/files: slimevolley-2.4.2-nodatalocal.patch Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox