OSDN Git Service

[Fix] #39964 自動拾いエディタで上下キーを押しても拾い/破壊の説明が更新されなかった問題を解消 / Fixed an issue where the...
authorHourier <hourier@users.sourceforge.jp>
Sun, 26 Apr 2020 15:27:06 +0000 (00:27 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sun, 26 Apr 2020 15:27:06 +0000 (00:27 +0900)
src/autopick/autopick-drawer.c

index c8ef877..d47d20f 100644 (file)
@@ -194,7 +194,7 @@ void draw_text_editor(player_type *player_ptr, text_body_type *tb)
 
        bool is_dirty_diary = (tb->dirty_flags & (DIRTY_ALL | DIRTY_NOT_FOUND | DIRTY_NO_SEARCH)) != 0;
        bool is_updated = tb->old_cy != tb->cy || is_dirty_diary || tb->dirty_line == tb->cy;
-       if (is_updated) return;
+       if (!is_updated) return;
 
        autopick_type an_entry, *entry = &an_entry;
        concptr str1 = NULL, str2 = NULL;