home · contact · privacy
Strongly overhauled keybinding managemment. Window-specific keybindings and a window...
[plomrogue] / src / misc.h
index 5101e473521916bbfa16aa24c40249d8240f0f30..782a6fab0512a23a775515a6b4080f55d3b24669 100644 (file)
@@ -44,11 +44,11 @@ extern void update_log(struct World * world, char * text);
 
 
 
-/* Return the offset necessary to center "map" on position "pos" in a frame of
- * "framesize.
+/* Return the offset necessary to center a map of "mapsize" on position "pos" in
+ * a frame of "framesize.
  */
-extern uint16_t center_offset(uint16_t pos, uint16_t mapsize,
-                              uint16_t framesize);
+extern uint16_t center_offset(uint16_t pos,
+                              uint16_t mapsize, uint16_t framesize);