Fixes #2855 again. Now with a non regression test ;)

This commit is contained in:
Bertrand Songis
2015-09-16 19:24:39 +02:00
parent 9eae49eed3
commit 9af87b228c
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ void getLogicalSwitchAudioFile(char * filename, int index, unsigned int event)
*str++ = 'L';
if (index >= 9) {
div_t qr = div(index+1, 10);
*str++ = '1' + qr.quot;
*str++ = '0' + qr.quot;
*str++ = '0' + qr.rem;
}
else {