diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-09 13:16:30 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-09 13:16:30 +0000 |
commit | 57c1ffed38c8aeb6b060a569f154786537773d3d (patch) | |
tree | 93dd238b4a66712f338c8d9e0f134146a74fb71b /data/mobileterminal/gcc42.diff | |
parent | cf2539cb36513141dd09ce2a78d2468ef23e3beb (diff) |
Upgraded a few projects to their latest builds.
git-svn-id: http://svn.telesphoreo.org/trunk@204 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/mobileterminal/gcc42.diff')
-rw-r--r-- | data/mobileterminal/gcc42.diff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/data/mobileterminal/gcc42.diff b/data/mobileterminal/gcc42.diff new file mode 100644 index 000000000..fd8740e78 --- /dev/null +++ b/data/mobileterminal/gcc42.diff @@ -0,0 +1,31 @@ +diff -ru mobileterminal-273/ColorMap.m mobileterminal-273+iPhone/ColorMap.m +--- mobileterminal-273/ColorMap.m 2007-10-01 08:23:11.000000000 +0000 ++++ mobileterminal-273+iPhone/ColorMap.m 2008-04-09 11:57:06.000000000 +0000 +@@ -144,7 +144,7 @@ + + - (CGColorRef)colorForCode:(unsigned int) index + { +- CGColorRef color; ++ CGColorRef color = NULL; + + if (index & DEFAULT_FG_COLOR_CODE) { // special colors? + switch (index) { +diff -ru mobileterminal-273/ShellKeyboard.m mobileterminal-273+iPhone/ShellKeyboard.m +--- mobileterminal-273/ShellKeyboard.m 2007-10-01 08:23:11.000000000 +0000 ++++ mobileterminal-273+iPhone/ShellKeyboard.m 2008-04-09 11:52:43.000000000 +0000 +@@ -37,6 +37,7 @@ + - (BOOL)webView:(id)fp8 shouldDeleteDOMRange:(id)fp12 + { + [shellKeyboard handleKeyPress:0x08]; ++ return YES; + } + + - (BOOL)webView:(id)fp8 shouldInsertText:(id)character +@@ -48,6 +49,7 @@ + return false; + } + [shellKeyboard handleKeyPress:[character characterAtIndex:0]]; ++ return YES; + } + + @end |