X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fmisc.h;h=782a6fab0512a23a775515a6b4080f55d3b24669;hb=550d22ec0c3f530f5d317746f3f7e75251a1de4b;hp=5101e473521916bbfa16aa24c40249d8240f0f30;hpb=ec5c4edd169be8fe8c778cabdfc7ada665629ffd;p=plomrogue
diff --git a/src/misc.h b/src/misc.h
index 5101e47..782a6fa 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -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);