summaryrefslogtreecommitdiff
path: root/apps/plugins/wavview.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wavview.c')
-rw-r--r--apps/plugins/wavview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/wavview.c b/apps/plugins/wavview.c
index 0d7b6f6476..7a26a3911f 100644
--- a/apps/plugins/wavview.c
+++ b/apps/plugins/wavview.c
@@ -203,7 +203,7 @@ static int readwavpeaks(const char *filename)
203 } 203 }
204 if(((bytes_read/4)*4) != bytes_read) 204 if(((bytes_read/4)*4) != bytes_read)
205 { 205 {
206 rb->splash(HZ*2, "bytes_read/*4 err: %ld",(long int)bytes_read); 206 rb->splashf(HZ*2, "bytes_read/*4 err: %ld",(long int)bytes_read);
207 rb->close (file); 207 rb->close (file);
208 return -1; 208 return -1;
209 } 209 }
@@ -438,12 +438,12 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void *parame
438 /* zoom out */ 438 /* zoom out */
439 if(zoomlevel > 1) 439 if(zoomlevel > 1)
440 zoomlevel /= 2; 440 zoomlevel /= 2;
441 rb->splash(HZ/2, "ZOOM: %dx",(int)zoomlevel); 441 rb->splashf(HZ/2, "ZOOM: %dx",(int)zoomlevel);
442 break; 442 break;
443 case ACTION_KBD_DOWN: 443 case ACTION_KBD_DOWN:
444 if(zoomlevel < (mempeakcount / LCD_WIDTH / 2)) 444 if(zoomlevel < (mempeakcount / LCD_WIDTH / 2))
445 zoomlevel *= 2; 445 zoomlevel *= 2;
446 rb->splash(HZ/2, "ZOOM: %dx",(int)zoomlevel); 446 rb->splashf(HZ/2, "ZOOM: %dx",(int)zoomlevel);
447 break; 447 break;
448 case ACTION_KBD_LEFT: 448 case ACTION_KBD_LEFT:
449 center -= 10 * (mempeakcount / LCD_WIDTH) / zoomlevel; 449 center -= 10 * (mempeakcount / LCD_WIDTH) / zoomlevel;