summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 77511c4..9ac3f32 100644
--- a/main.c
+++ b/main.c
@@ -39,7 +39,7 @@ void select_from_table(sqlite3 *db, char *tblName, char *qp)
sql = "SELECT * FROM anime WHERE NAME LIKE ?1 ORDER BY ID;";
} else if (!strcmp(tblName, "manga")) {
type = "Chapter";
- sql = "SELECT * manga WHERE NAME LIKE ?1 ORDER BY ID;";
+ sql = "SELECT * FROM manga WHERE NAME LIKE ?1 ORDER BY ID;";
} else {
fprintf(stderr, "table does not exist...\n");
sqlite3_close(db);