Grammar fix + ocd alignment

docking
ocornut 10 years ago
parent 311a2f8328
commit e27eddfbd2

@ -534,7 +534,7 @@ struct ImGuiIO
// { // {
// // code block will be executed one per frame // // code block will be executed one per frame
// } // }
// Attention! the macro expand into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces. // Attention! the macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces.
#define IMGUI_ONCE_UPON_A_FRAME static ImGuiOnceUponAFrame imgui_oaf##__LINE__; if (imgui_oaf##__LINE__) #define IMGUI_ONCE_UPON_A_FRAME static ImGuiOnceUponAFrame imgui_oaf##__LINE__; if (imgui_oaf##__LINE__)
struct ImGuiOnceUponAFrame struct ImGuiOnceUponAFrame
{ {

Loading…
Cancel
Save