diff options
Diffstat (limited to 'apps/plugins/mikmod/mikmod.c')
-rw-r--r-- | apps/plugins/mikmod/mikmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/mikmod.c b/apps/plugins/mikmod/mikmod.c index 30f8c2f079..6b08fa258b 100644 --- a/apps/plugins/mikmod/mikmod.c +++ b/apps/plugins/mikmod/mikmod.c | |||
@@ -378,7 +378,7 @@ static void showinstruments(void) | |||
378 | rb->lcd_clear_display(); | 378 | rb->lcd_clear_display(); |
379 | for( i=0; i<MAX_LINES && i+vscroll<module->numins; i++ ) | 379 | for( i=0; i<MAX_LINES && i+vscroll<module->numins; i++ ) |
380 | { | 380 | { |
381 | sprintf(statustext, "%02d %s", i+vscroll+1, module->instruments[i+vscroll].insname); | 381 | sprintf(statustext, "%02d %s", i+vscroll+1, module->instruments[i+vscroll].insname ? module->instruments[i+vscroll].insname : "[n/a]"); |
382 | rb->lcd_putsxy(1, 1+(8*i), statustext); | 382 | rb->lcd_putsxy(1, 1+(8*i), statustext); |
383 | } | 383 | } |
384 | rb->lcd_update(); | 384 | rb->lcd_update(); |