]> granicus.if.org Git - nethack/commitdiff
Update comment about xchar
authorPasi Kallinen <paxed@alt.org>
Sun, 15 Nov 2020 12:25:40 +0000 (14:25 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 15 Nov 2020 12:25:45 +0000 (14:25 +0200)
include/global.h

index 23350a12c3d3c3fdf83586b96a899be9696fe24c..1cdc6a1683a0296bd4aec654d098fb6cbf080dbd 100644 (file)
@@ -49,9 +49,8 @@
 #endif /* DUMB */
 
 /*
- * type xchar: small integers in the range 0 - 127, usually coordinates
- * although they are nonnegative they must not be declared unsigned
- * since otherwise comparisons with signed quantities are done incorrectly
+ * type xchar: small integers (typedef'd as signed char,
+ * so in the range -127 - 127), usually coordinates.
  */
 typedef schar xchar;