summaryrefslogtreecommitdiff
path: root/apps/plugins/text_editor.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-16 21:56:08 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-16 21:56:08 +0000
commit4d6374c9236b93e0bd457f99944164fc493d1120 (patch)
treeff9630fcef66e63c61cc0a74e97f21220e668f75 /apps/plugins/text_editor.c
parent2c643b9f3e22ee07f7949a5471f726758dc40841 (diff)
downloadrockbox-4d6374c9236b93e0bd457f99944164fc493d1120.zip
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.gz
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.bz2
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.xz
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r--apps/plugins/text_editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index bf69acf..8040d00 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -178,7 +178,7 @@ void save_changes(int overwrite)
fd = rb->open(filename,O_WRONLY|O_CREAT|O_TRUNC);
if (fd < 0)
{
- rb->splash(HZ*2,1,"Changes NOT saved");
+ rb->splash(HZ*2, "Changes NOT saved");
return;
}
@@ -315,7 +315,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
fd = rb->open(filename,O_RDONLY);
if (fd<0)
{
- rb->splash(HZ*2,true,"Couldnt open file: %s",(char*)parameter);
+ rb->splash(HZ*2,"Couldnt open file: %s",(char*)parameter);
return PLUGIN_ERROR;
}
/* read in the file */
@@ -323,7 +323,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
{
if (!do_action(ACTION_INSERT,temp_line,line_count))
{
- rb->splash(HZ*2,true,"Error reading file: %s",(char*)parameter);
+ rb->splash(HZ*2,"Error reading file: %s",(char*)parameter);
rb->close(fd);
return PLUGIN_ERROR;
}