core: lib: Prepare for M2-Planet.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Aug 2018 14:41:07 +0000 (16:41 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 12 Aug 2018 14:41:07 +0000 (16:41 +0200)
commit1e787637d817f229bf32ad4d7008db872ab4169f
tree4644158b0b329bba7adcc594608d3f765460ffe8
parent03ee240904b77c976f4425bb15179b06f73c60f0
core: lib: Prepare for M2-Planet.

* src/lib.c (display_helper): Refactor to use if instead of switch.
(memq): Likewise.
src/lib.c