Fixed wrong string in confirm box

This commit is contained in:
Stefan Ritt 2016-12-02 15:24:55 +01:00
parent 416db9fc0f
commit 754330e358

View File

@ -13783,7 +13783,8 @@ void show_config_page(LOGBOOK * lbs)
rsprintf("function chkrem()\n");
rsprintf("{\n");
strencode2(str, user, sizeof(str));
sprintf(str, loc("Really remove user %s?"), str);
strlcpy(user, str, sizeof(user));
sprintf(str, loc("Really remove user \\\"%s\\\"?"), user);
rsprintf(" var subm = confirm(\"%s\");\n", str);
rsprintf(" return subm;\n");
rsprintf("}\n\n");