aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-12-29 12:53:09 +0000
committerdrh <drh@noemail.net>2005-12-29 12:53:09 +0000
commitaa81608eb09adb9d328ce5cf24d98e02dd91b09d (patch)
tree8ade5f9c2f349a9fa1e132fbf48f3c4f45df13d6 /src
parenta073384f0804a62ae885f92db7cacf803f6a62ef (diff)
downloadsqlite-aa81608eb09adb9d328ce5cf24d98e02dd91b09d.tar.gz
sqlite-aa81608eb09adb9d328ce5cf24d98e02dd91b09d.zip
Fix for ticket #1575. (CVS 2844)
FossilOrigin-Name: 1586921b54da5ba3bea80e8e656a11d32996ab3a
Diffstat (limited to 'src')
-rw-r--r--src/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c b/src/shell.c
index b06f91309..a3c1db434 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases.
**
-** $Id: shell.c,v 1.129 2005/12/09 14:25:08 danielk1977 Exp $
+** $Id: shell.c,v 1.130 2005/12/29 12:53:10 drh Exp $
*/
#include <stdlib.h>
#include <string.h>
@@ -830,7 +830,7 @@ static void resolve_backslashes(char *z){
}else if( c=='r' ){
c = '\r';
}else if( c>='0' && c<='7' ){
- c =- '0';
+ c -= '0';
if( z[i+1]>='0' && z[i+1]<='7' ){
i++;
c = (c<<3) + z[i] - '0';