relocate declaration of sounddir
It shouldn't have been located inside an #ifdef USER_SOUNDS block.
This commit is contained in:
+2
-1
@@ -1538,6 +1538,8 @@ tiphat(void)
|
||||
return res;
|
||||
}
|
||||
|
||||
char *sounddir = 0; /* set in files.c */
|
||||
|
||||
#ifdef USER_SOUNDS
|
||||
|
||||
typedef struct audio_mapping_rec {
|
||||
@@ -1551,7 +1553,6 @@ typedef struct audio_mapping_rec {
|
||||
static audio_mapping *soundmap = 0;
|
||||
static audio_mapping *sound_matches_message(const char *);
|
||||
|
||||
char *sounddir = 0; /* set in files.c */
|
||||
|
||||
/* adds a sound file mapping, returns 0 on failure, 1 on success */
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user