Browse Source

stb_textedit: fix typo: STB_TEXTED_K_RIGHT

Martin Stensgård 6 years ago
parent
commit
6bde00651c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stb_textedit.h

+ 1 - 1
stb_textedit.h

@@ -171,7 +171,7 @@
 // Keyboard input must be encoded as a single integer value; e.g. a character code
 // and some bitflags that represent shift states. to simplify the interface, SHIFT must
 // be a bitflag, so we can test the shifted state of cursor movements to allow selection,
-// i.e. (STB_TEXTED_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow.
+// i.e. (STB_TEXTEDIT_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow.
 //
 // You can encode other things, such as CONTROL or ALT, in additional bits, and
 // then test for their presence in e.g. STB_TEXTEDIT_K_WORDLEFT. For example,