]> Git repositories of Nishi - repoview.git/commitdiff
kinda works
authorNishi <nishi@nishi.boats>
Thu, 22 Aug 2024 05:59:51 +0000 (05:59 +0000)
committerNishi <nishi@nishi.boats>
Thu, 22 Aug 2024 05:59:51 +0000 (05:59 +0000)
git-svn-id: file:///raid/svn-personal/repoview/trunk@50 7e8b2a19-8934-dd40-8cb3-db22cdd5a80f

CGI/theme/modern.c

index e31d2131b1459b97acd1f134916e143fe0f552c4..9ff136263c590c18d471d4d8bc188f034f4cf1ce 100644 (file)
@@ -468,7 +468,7 @@ void render_page(void) {
                                fclose(f);
                                char* reason;
                                if(rv_resize_picture(path, outpath, &reason)) {
-                                       add_data(&page, "Uploaded the profile picture successfully.\n");
+                                       add_data(&page, "Uploaded the profile picture successfully.<br>\n");
                                } else {
                                        add_data(&page, "Failed to upload the profile picture.<br><code>\n");
                                        char* esc = html_escape(reason);
@@ -487,7 +487,7 @@ void render_page(void) {
                                fwrite(entry->data, 1, entry->length, f);
                                fclose(f);
                                free(path);
-                               add_data(&page, "Uploaded the bio successfully.\n");
+                               add_data(&page, "Uploaded the bio successfully.<br>\n");
                        }
                }
 #endif