From ea2900a34a5ec186620b9a4f5caceb65a2be4ff7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 2 Sep 2012 11:17:31 -0700 Subject: Use truth values with gboolean Just a little cosmetic oversight Signed-off-by: Dirk Hohndel --- info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/info.c b/info.c index d43d531a0..3efb40cf8 100644 --- a/info.c +++ b/info.c @@ -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); } -- cgit v1.2.3-70-g09d2