Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
In the header comments STB_TEXTEDIT_UNDOSTATECOUNT is misspelled as
STB_TEXTEDIT_UNDOSTATE_COUNT and STB_TEXTEDIT_UNDOCHARCOUNT is
misspelled as STB_UNDOCHAR_COUNT
  • Loading branch information
joshnix committed Nov 5, 2020
1 parent b42009b commit 83de7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stb_textedit.h
Expand Up @@ -87,8 +87,8 @@
// moderate sizes. The undo system does no memory allocations, so
// 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:
Expand Down

0 comments on commit 83de7fe

Please sign in to comment.