diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-05-18 03:34:34 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-05-18 03:34:34 +0200 |
commit | 5dc82656f40bc4b5902f973f1ff1c90239fefb04 (patch) | |
tree | 3f05f1923b1bdf679c98a25c0f694995438071e5 | |
parent | 5cd834ef157775bbe5de8db4a241f93123a7c9d0 (diff) | |
download | serial-barcode-scanner-5dc82656f40bc4b5902f973f1ff1c90239fefb04.tar.bz2 |
use correct statement in undo
-rw-r--r-- | db.vala | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ public class Database { rc = this.undo_stmt1.step(); switch(rc) { case Sqlite.ROW: - pid = uint64.parse(this.product_stmt.column_text(0)); + pid = uint64.parse(this.undo_stmt1.column_text(0)); break; case Sqlite.DONE: stdout.printf("undo not possible without purchases"); |