home · contact · privacy
Replaced fgets() with try_fgets() in keybindings library.
[plomrogue] / src / draw_wins.c
index 624a240970cfb141b81ff1c58a3a79d8f17ad801..b589a30ec7a8644ee5679c11395cb3916b737cb0 100644 (file)
@@ -386,13 +386,13 @@ extern void draw_win_inventory(struct Win * win)
         add_line(win, "(none)", 0, 0);
         return;
     }
-    win->center.y = world.inventory_select;
+    win->center.y = world.inventory_sel;
     struct MapObj * owned = player->owns;
     uint8_t y;
     for (y = 0; NULL != owned; y++)
     {
         attr_t attri = 0;
-        if (y == world.inventory_select)
+        if (y == world.inventory_sel)
         {
             attri = A_REVERSE;
         }