summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-04-01 21:26:29 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-01 21:26:29 (GMT)
commit630ab09f63b1c400130a1b5b6e219e749d8fcc06 (patch)
tree2114ef1a5579c31212d7fe2b20827606a28e6f55 /src/main.c
parent40abad4cca553e90ddca1ee6239c46c7ea35d646 (diff)
downloadpowder-630ab09f63b1c400130a1b5b6e219e749d8fcc06.zip
powder-630ab09f63b1c400130a1b5b6e219e749d8fcc06.tar.gz
Copy text UI
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index cba0a7f..2c4ba04 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2249,7 +2249,7 @@ int main(int argc, char *argv[])
sdl_open();
http_init(http_proxy_string[0] ? http_proxy_string : NULL);
-
+
if (cpu_check())
{
error_ui(vid_buf, 0, "Unsupported CPU. Try another version.");
@@ -3273,9 +3273,7 @@ int main(int argc, char *argv[])
if (save_name_ui(vid_buf)){
execute_save(vid_buf);
if(svf_id[0]){
- char tmpstring[256] = "";
- sprintf(tmpstring, "Save uploaded with the ID %s", svf_id);
- info_ui(vid_buf, "Uploaded new save", tmpstring);
+ copytext_ui(vid_buf, "Save ID", "Saved successfully!", svf_id);
}
}
}