diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-05 16:09:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-05 16:12:14 +0300 |
commit | c0bc0003eed4938071d051ffeb689dbbfd1ca02a (patch) | |
tree | 16df68b5a75a36a00cd7e1db44a8325529b75275 /android | |
parent | Detach thread before returning from android_main() (diff) | |
download | core-c0bc0003eed4938071d051ffeb689dbbfd1ca02a.tar.gz core-c0bc0003eed4938071d051ffeb689dbbfd1ca02a.zip |
RTFM for Arrays.copyOfRange()
Change-Id: Ie0d7bd95207aafb269f23974b8e90fa0b50fdb86
Diffstat (limited to 'android')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/android/Bootstrap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java index 116c6c476100..8c635d479408 100644 --- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java +++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java @@ -218,7 +218,7 @@ public class Bootstrap extends NativeActivity while (argv.length > 0 && argv[0].matches("[A-Z_]+=.*")) { putenv(argv[0]); - argv = Arrays.copyOfRange(argv, 1, argv.length-1); + argv = Arrays.copyOfRange(argv, 1, argv.length); } // argv[0] will be replaced by android_main() in lo-bootstrap.c by the |