aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD2
-rw-r--r--m2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 91de46d..b9dcb3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ groups=()
depends=(sqlite3 fcgi)
source=("m2.c"
"init.sql")
-sha256sums=('01d7b97355488e7505db26e6825f0bebec8451294a644de17d771992aabf4cae'
+sha256sums=('e17e076e53592da71d45bdc76b801e641232d89674004d8fe6ca87183f4693a9'
'e71a00dfb9a2744f482de80e33c02341d6cae19a1f54e53a5346d972bfeff054')
build() {
diff --git a/m2.c b/m2.c
index 1f7d962..be42640 100644
--- a/m2.c
+++ b/m2.c
@@ -69,7 +69,7 @@ int main(int argc, char **argv) {
title,
title_zh ? title_zh : "",
text,
- text_zh);
+ text_zh ? text_zh : "");
break;
}
if ((r = sqlite3_reset(stmt))) {