mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Successful deletion is not an error
This commit is contained in:
@@ -3786,6 +3786,12 @@ int execute_delete(pixel *vid_buf, char *id)
|
|||||||
free(result);
|
free(result);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
if (result && strncmp(result, "INFO: ", 6)==0)
|
||||||
|
{
|
||||||
|
info_ui(vid_buf, "Info", result+6);
|
||||||
|
free(result);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
if (result && strncmp(result, "OK", 2))
|
if (result && strncmp(result, "OK", 2))
|
||||||
{
|
{
|
||||||
error_ui(vid_buf, 0, result);
|
error_ui(vid_buf, 0, result);
|
||||||
|
Reference in New Issue
Block a user