r1963 - trunk/src/target/OM-2007/applications/openmoko-dialer/src
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Wed May 16 12:04:13 CEST 2007
Author: thomas
Date: 2007-05-16 12:04:12 +0200 (Wed, 16 May 2007)
New Revision: 1963
Modified:
trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c
Log:
openmoko-dialer: fix logic
Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c 2007-05-16 09:49:34 UTC (rev 1962)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c 2007-05-16 10:04:12 UTC (rev 1963)
@@ -645,7 +645,7 @@
/* if there aren't any entries in the journal, we don't need to do any more
* here
*/
- if (!p_dialer_data->journal || moko_journal_get_nb_entries (p_dialer_data->journal))
+ if (!p_dialer_data->journal || !moko_journal_get_nb_entries (p_dialer_data->journal))
return 1;
j_entry = moko_journal_entry_new (VOICE_JOURNAL_ENTRY);
@@ -688,6 +688,8 @@
HISTORY_ICON_NAME_COLUMN, icon_name,
HISTORY_DISPLAY_TEXT_COLUMN, display_text,
-1);
+
+ i++;
}
More information about the commitlog
mailing list