Commit 4c0e97c2 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix thinkos in GinLogicValue enum.

It was incorrectly declared as global variable, not an enum type, and
the comments for GIN_FALSE and GIN_TRUE were backwards.
parent dea6ed2c
...@@ -48,13 +48,13 @@ typedef struct GinStatsData ...@@ -48,13 +48,13 @@ typedef struct GinStatsData
} GinStatsData; } GinStatsData;
/* ginlogic.c */ /* ginlogic.c */
enum enum GinLogicValueEnum
{ {
GIN_FALSE = 0, /* item is present / matches */ GIN_FALSE = 0, /* item is not present / does not match */
GIN_TRUE = 1, /* item is not present / does not match */ GIN_TRUE = 1, /* item is present / matches */
GIN_MAYBE = 2 /* don't know if item is present / don't know if GIN_MAYBE = 2 /* don't know if item is present / don't know if
* matches */ * matches */
} GinLogicValueEnum; };
typedef char GinLogicValue; typedef char GinLogicValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment