Format like smack-a-brother, and write comments as sentences

Four-space indents, braces on their own lines, and one-statement bodies without braces.
Semicolons in comments became full stops.
Designated initializers may leave fields out without a warning.
This commit is contained in:
shweet committed 2026-11-22 17:30:03 -05:00
1 parent 40f6b554b5
commit 7afdf709c3
176 files changed
+20500 -19048

No files matched your search

+5 -5
View File
@@ -5,9 +5,9 @@
#include <imgui/imgui.h>
class MultiSelectStorage : public std::set<int>
{
public:
class MultiSelectStorage : public std::set<int>
{
public:
ImGuiSelectionExternalStorage internal = {};
ImGuiMultiSelectIO* io = nullptr;
std::vector<int>* indexMap = nullptr;
@@ -28,6 +28,6 @@
void finish();
void set_index_map(std::vector<int>*);
int resolve_index(int) const;
};
};
void external_storage_set(ImGuiSelectionExternalStorage*, int, bool);
void external_storage_set(ImGuiSelectionExternalStorage*, int, bool);