X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=48e1eceb6fb45cbe48e6de9d591f8ea830f92a49;hb=2b74d3078e1c7e23dc617ca51ac2adbdcb65fe76;hp=e5faa96df63fe8624795651b54f51cbb6f13ca91;hpb=4c1dc967fd477540e82566fff8d60e1c67ff3ca1;p=rugen diff --git a/src/main.c b/src/main.c index e5faa96..48e1ece 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,7 @@ /* * main.c -- GTK+ 2 dv1394d client demo * Copyright (C) 2002-2003 Charles Yates + * Copyright (C) 2010 Dan Dennedy * * 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 @@ -49,10 +50,10 @@ int main( int argc, char *argv[] ) // Linux hack to determine path of the executable readlink( "/proc/self/exe", path, 512 ); - if ( strstr( path, "/bin/fireswamp" ) ) + if ( strstr( path, "/bin/rugen" ) ) { - ( *strstr( path, "/bin/fireswamp" ) ) = '\0'; - strcat( path, "/share/fireswamp/pixmaps" ); + ( *strstr( path, "/bin/rugen" ) ) = '\0'; + strcat( path, "/share/rugen/pixmaps" ); add_pixmap_directory( path ); } else