Browse Source

stb_textedit: Docs fix.

Fixes issue #1041.
Fabian Giesen 4 years ago
parent
commit
a49749a57d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      stb_textedit.h

+ 2 - 2
stb_textedit.h

@@ -87,8 +87,8 @@
 //   moderate sizes. The undo system does no memory allocations, so
 //   moderate sizes. The undo system does no memory allocations, so
 //   it grows STB_TexteditState by the worst-case storage which is (in bytes):
 //   it grows STB_TexteditState by the worst-case storage which is (in bytes):
 //
 //
-//        [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATE_COUNT
-//      +          sizeof(STB_TEXTEDIT_CHARTYPE)      * STB_TEXTEDIT_UNDOCHAR_COUNT
+//        [4 + 3 * sizeof(STB_TEXTEDIT_POSITIONTYPE)] * STB_TEXTEDIT_UNDOSTATECOUNT
+//      +          sizeof(STB_TEXTEDIT_CHARTYPE)      * STB_TEXTEDIT_UNDOCHARCOUNT
 //
 //
 //
 //
 // Implementation mode:
 // Implementation mode: