1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-18 13:55:12 +03:00

Another bug in system prompts referencing

This commit is contained in:
Bertrand Songis 2014-02-21 17:50:34 +01:00
parent 9b5b22658a
commit 9c38236a30

View file

@ -151,7 +151,7 @@ char * getSystemAudioPath(char * path)
void getSystemAudioFile(char * filename, int index) void getSystemAudioFile(char * filename, int index)
{ {
char * str = getAudioPath(filename); char * str = getSystemAudioPath(filename);
strcpy(str, audioFilenames[index]); strcpy(str, audioFilenames[index]);
strcat(str, SOUNDS_EXT); strcat(str, SOUNDS_EXT);
} }