From 2751872c593e1a8dbeaae72e5f5914a46242140e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 12 Apr 2025 16:50:09 -0500 Subject: [PATCH] [nostalgia] Cleanup file-to-cpp output --- src/nostalgia/studio/icondata.cpp | 1 - util/scripts/file-to-cpp.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nostalgia/studio/icondata.cpp b/src/nostalgia/studio/icondata.cpp index 2783a709..6b45658f 100644 --- a/src/nostalgia/studio/icondata.cpp +++ b/src/nostalgia/studio/icondata.cpp @@ -1,7 +1,6 @@ // Generated #include - #include namespace studio { diff --git a/util/scripts/file-to-cpp.py b/util/scripts/file-to-cpp.py index 59403ed4..79e789b7 100755 --- a/util/scripts/file-to-cpp.py +++ b/util/scripts/file-to-cpp.py @@ -65,7 +65,7 @@ def proc_rsrc_file(rsrc_path: str):# Open and read the JSON file push_ns = '' pop_ns = '' cpp = '// Generated\n\n#include \n' - cpp += '\n#include \n\n' + cpp += '#include \n\n' hpp = '// Generated\n\n#include \n\n' cpp += push_ns hpp += push_ns