Skip to content

Commit 3e5a1b8

Browse files
committed
ANDROID: fix crash entering c,v in edit control mode
1 parent 28fe89f commit 3e5a1b8

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-14-23 (0.12.15)
2+
ANDROID: fix crash entering c,v in edit control mode
3+
14
2019-14-02 (0.12.15)
25
ANDROID: fix crash passing negative duration to SOUND command
36

src/platform/android/app/src/main/assets/main.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ sub do_about()
119119
color 7
120120
print "Version "; sbver
121121
print
122-
print "Copyright (c) 2002-2018 Chris Warren-Smith"
122+
print "Copyright (c) 2002-2019 Chris Warren-Smith"
123123
print "Copyright (c) 1999-2006 Nicholas Christopoulos" + chr(10)
124124

125125
local bn_home

src/platform/android/jni/runtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct Runtime : public System {
7474
bool loadSettings(Properties<String *> &settings);
7575
void saveConfig();
7676
void runPath(const char *path);
77-
void setClipboardText(const char *s) { setString("setClipboardText", s); }
77+
void setClipboardText(const char *s) { if (s) setString("setClipboardText", s); }
7878
char *getClipboardText();
7979
void setFocus(bool focus) { _hasFocus = focus; }
8080
int getFontId();

0 commit comments

Comments
 (0)