diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-02 11:17:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-02 11:17:31 -0700 |
commit | ea2900a34a5ec186620b9a4f5caceb65a2be4ff7 (patch) | |
tree | 30017c795586d39adb24ebe0a2213d2d25fdeed7 /info.c | |
parent | c3debc10fdcb0f7e939872ea24d525f41039f5bd (diff) | |
download | subsurface-ea2900a34a5ec186620b9a4f5caceb65a2be4ff7.tar.gz |
Use truth values with gboolean
Just a little cosmetic oversight
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'info.c')
-rw-r--r-- | info.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -531,13 +531,13 @@ gboolean edit_trip(struct dive *trip) new_text = get_combo_box_entry_text(info.location, &trip->location, trip->location); if (new_text) { add_location(new_text); - changed = 1; + changed = TRUE; } if (info.notes) { old_text = trip->notes; trip->notes = get_text(info.notes); if (text_changed(old_text, trip->notes)) - changed = 1; + changed = TRUE; if (old_text) g_free(old_text); } |