From 4df6a9b08b31391acf98841b06d0a22f1bf8008f Mon Sep 17 00:00:00 2001 From: Andre Polykanine Date: Tue, 4 Dec 2018 23:43:19 +0200 Subject: [PATCH] SQLite: Fix spelling typo --- sqlite.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sqlite.d b/sqlite.d index b205029..6efeb58 100644 --- a/sqlite.d +++ b/sqlite.d @@ -43,14 +43,14 @@ import std.conv; scope(exit)) */ -Sqlite openDBAndCreateIfNotPresent(string filename, string sql, void delegate(Sqlite db) initalize = null){ +Sqlite openDBAndCreateIfNotPresent(string filename, string sql, void delegate(Sqlite db) initialize = null){ if(exists(filename)) return new Sqlite(filename); else { auto db = new Sqlite(filename); db.exec(sql); - if(initalize !is null) - initalize(db); + if(initialize !is null) + initialize(db); return db; } }