Skip to content

Commit f88bd30

Browse files
committed
Update Utils.vala
1 parent e52e007 commit f88bd30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Utils.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,13 +1508,13 @@ namespace Gabut {
15081508
}
15091509

15101510
private void check_optdown () {
1511-
if ((db_table ("download") - 1) == DBDownload.FILEORDIR) {
1511+
if ((db_table ("download") - 1) != DBDownload.FILEORDIR) {
15121512
if (db_table ("download") > 0) {
15131513
GabutApp.db.exec ("DROP TABLE download;");
15141514
}
15151515
table_download (GabutApp.db);
15161516
}
1517-
if ((db_table ("options") - 1) == DBOption.SELECTFILE) {
1517+
if ((db_table ("options") - 1) != DBOption.SELECTFILE) {
15181518
if (db_table ("options") > 0) {
15191519
GabutApp.db.exec ("DROP TABLE options;");
15201520
}

0 commit comments

Comments
 (0)