OSDN Git Service

#37353 [Fix] 差し戻し作業のミスを修正。 / Fix mistake of remand to get_item().
authorDeskull <deskull@users.sourceforge.jp>
Wed, 28 Nov 2018 13:29:54 +0000 (22:29 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Wed, 28 Nov 2018 13:29:54 +0000 (22:29 +0900)
src/cmd-item.c
src/cmd4.c

index 58b4282..5e9db01 100644 (file)
@@ -1286,7 +1286,7 @@ static void do_cmd_refill_torch(void)
        q = _("どの松明で明かりを強めますか? ", "Refuel with which torch? ");
        s = _("他に松明がない。", "You have no extra torches.");
 
-       if (get_item(&item, q, s, (USE_INVEN | USE_FLOOR))) return;
+       if (!get_item(&item, q, s, (USE_INVEN | USE_FLOOR))) return;
 
        /* Get the item (in the pack) */
        if (item >= 0)
index 9769a61..51a7692 100644 (file)
@@ -8428,7 +8428,8 @@ static void do_cmd_knowledge_autopick(void)
                {
                        tmp = _("拾う", "Pickup");
                }
-               else {
+               else
+               {
                        tmp = _("確認", "Query");
                }