summaryrefslogtreecommitdiffstats
path: root/apps/plugins/searchengine
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/searchengine
parent2c643b9f3e22ee07f7949a5471f726758dc40841 (diff)
downloadrockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.gz
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.zip
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/searchengine')
-rw-r--r--apps/plugins/searchengine/parser.c4
-rw-r--r--apps/plugins/searchengine/searchengine.c4
-rw-r--r--apps/plugins/searchengine/token.c8
3 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/searchengine/parser.c b/apps/plugins/searchengine/parser.c
index 76beab49cc..9eabdb6bbe 100644
--- a/apps/plugins/searchengine/parser.c
+++ b/apps/plugins/searchengine/parser.c
@@ -47,7 +47,7 @@ unsigned char *parse(int fd) {
ret=parseMExpr();
if(syntaxerror) {
PUTS("Syntaxerror");
- rb->splash(HZ*3,true,errormsg);
+ rb->splash(HZ*3,errormsg);
}
parser_accept(TOKEN_EOF);
return ret;
@@ -267,7 +267,7 @@ unsigned char *parseMExpr() {
if(filter[currentlevel][i]) // this should always be true
ret[i]=ret[i] || ret2[i];
else
- rb->splash(HZ*2,true,"An or is having a filter, bad.");
+ rb->splash(HZ*2,"An or is having a filter, bad.");
}
return ret;
}
diff --git a/apps/plugins/searchengine/searchengine.c b/apps/plugins/searchengine/searchengine.c
index 6c2322e950..2687bd9289 100644
--- a/apps/plugins/searchengine/searchengine.c
+++ b/apps/plugins/searchengine/searchengine.c
@@ -71,7 +71,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
PUTS("SearchEngine v0.1");
parsefd=rb->open(parameter,O_RDONLY);
if(parsefd<0) {
- rb->splash(2*HZ,true,"Unable to open search tokenstream");
+ rb->splash(2*HZ,"Unable to open search tokenstream");
return PLUGIN_ERROR;
}
result=parse(parsefd);
@@ -90,7 +90,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->close(fd);
}
rb->snprintf(buf,250,"Hits: %d",hits);
- rb->splash(HZ*3,true,buf);
+ rb->splash(HZ*3,buf);
if (result!=0) {
/* Return PLUGIN_USB_CONNECTED to force a file-tree refresh */
return PLUGIN_USB_CONNECTED;
diff --git a/apps/plugins/searchengine/token.c b/apps/plugins/searchengine/token.c
index d51d92a712..3c01d4633e 100644
--- a/apps/plugins/searchengine/token.c
+++ b/apps/plugins/searchengine/token.c
@@ -43,14 +43,14 @@ char *getstring(struct token *token) {
return currententry->filename;
default:
rb->snprintf(buf,199,"unknown stringid intvalue %d",token->intvalue);
- rb->splash(HZ*2,true,buf);
+ rb->splash(HZ*2,buf);
return "";
}
break;
default:
// report error
rb->snprintf(buf,199,"unknown token %d in getstring..",token->kind);
- rb->splash(HZ*2,true,buf);
+ rb->splash(HZ*2,buf);
return "";
}
}
@@ -104,13 +104,13 @@ int getvalue(struct token *token) {
return (currententry->playcount-dbglobal.playcountmin)*10/(dbglobal.playcountmax-dbglobal.playcountmin);
default:
rb->snprintf(buf,199,"unknown numid intvalue %d",token->intvalue);
- rb->splash(HZ*2,true,buf);
+ rb->splash(HZ*2,buf);
// report error.
return 0;
}
default:
rb->snprintf(buf,199,"unknown token %d in getvalue..",token->kind);
- rb->splash(HZ*2,true,buf);
+ rb->splash(HZ*2,buf);
return 0;
}
}