From: Kaj-Michael Lang Date: Thu, 14 Jun 2007 22:05:09 +0000 (+0300) Subject: Fix X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab94282ee9a499f459029a5bcd084d2e639e0cfa;p=mapper Fix --- 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))) {