summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-08-22 18:03:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-08-22 18:03:30 (GMT)
commit9dca3fdb21e3086363038926d4f49e1300b4130d (patch)
treee056d2b59aa8b73e63b8bb5bc74272cb8edc343e /src/core
parent119039519376c7fbc9ca5735844100467c30192a (diff)
Restored the operand display switch feature.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/collections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/collections.c b/src/core/collections.c
index 3419b2e..f5bccd7 100644
--- a/src/core/collections.c
+++ b/src/core/collections.c
@@ -103,7 +103,7 @@ bool load_hard_coded_collection_definitions(void)
* afin de garder la correspondance entre les identifiants.
*/
-#ifndef NDEBUG
+#if 0 //ndef NDEBUG
# define REGISTER_COLLECTION(tp, exp) \
id = register_collection_type(tp); \
assert(id == exp);
@@ -118,7 +118,7 @@ bool load_hard_coded_collection_definitions(void)
//REGISTER_COLLECTION(G_TYPE_MOVE_COLLECTION, DBF_MOVES);
- //REGISTER_COLLECTION(G_TYPE_SWITCHER_COLLECTION, DBF_DISPLAY_SWITCHERS);
+ REGISTER_COLLECTION(G_TYPE_SWITCHER_COLLECTION, DBF_DISPLAY_SWITCHERS);
return true;