Closed guijan closed 1 year ago
Scrot uses a mix of the int and bool types to do boolean logic: https://github.com/resurrecting-open-source-projects/scrot/blob/c0f029e6150a743747dbdc7105d1cc4e98260b15/src/options.c#L440-L454 https://github.com/resurrecting-open-source-projects/scrot/blob/c0f029e6150a743747dbdc7105d1cc4e98260b15/src/options.c#L154-L157
int
bool
Contributors should decide which one (and only one) should be used across the source code for consistency.
Scrot uses a mix of the
int
andbool
types to do boolean logic: https://github.com/resurrecting-open-source-projects/scrot/blob/c0f029e6150a743747dbdc7105d1cc4e98260b15/src/options.c#L440-L454 https://github.com/resurrecting-open-source-projects/scrot/blob/c0f029e6150a743747dbdc7105d1cc4e98260b15/src/options.c#L154-L157Contributors should decide which one (and only one) should be used across the source code for consistency.