- fix variable declaration to work with older gcc

- fix typo in xmms code


git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@495 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2003-06-24 18:15:10 +00:00 committed by l-n
parent 553cc209a6
commit 2ea5ef0faa
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Jun 24, 2003: Ludwig Nussel <l-n@users.sourceforge.net>
- fix variable declaration to work with older gcc
Jun 19, 2003: Ludwig Nussel <l-n@users.sourceforge.net>
- Option to stop current song in XMMS when launching a game
- Option to resolve hostnames on update. This way it is possible to display

View File

@ -1063,6 +1063,7 @@ static gboolean check_launch (struct condef* con)
static void stopxmms()
{
char* xmmssocket = NULL;
pid_t pid;
if (!default_stopxmms)
return;
@ -1076,7 +1077,7 @@ static void stopxmms()
return;
}
pid_t pid = fork();
pid = fork();
if ( pid == 0) {
char *argv[3];
argv[0] = "xmms";