From ab94282ee9a499f459029a5bcd084d2e639e0cfa Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 15 Jun 2007 01:05:09 +0300 Subject: [PATCH] Fix --- src/poi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poi.c b/src/poi.c index 3fc610d..5ba26d3 100644 --- a/src/poi.c +++ b/src/poi.c @@ -121,7 +121,7 @@ poi_db_create(sqlite3 *db) _("Miscellaneous category for everything else.")); if (SQLITE_OK != - sqlite3_exec(&db, create_sql, NULL, NULL, &perror) + sqlite3_exec(db, create_sql, NULL, NULL, &perror) && (SQLITE_OK != sqlite3_get_table(db, "select label from poi limit 1", &pszResult, &nRow, &nColumn, NULL))) { -- 2.39.5