summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-05 16:09:04 +0300
committerTor Lillqvist <tml@iki.fi>2012-09-05 16:12:14 +0300
commitc0bc0003eed4938071d051ffeb689dbbfd1ca02a (patch)
tree16df68b5a75a36a00cd7e1db44a8325529b75275
parent2c619267d63c963f48472b290c83c60f664a7bc0 (diff)
RTFM for Arrays.copyOfRange()
Change-Id: Ie0d7bd95207aafb269f23974b8e90fa0b50fdb86
-rw-r--r--android/Bootstrap/src/org/libreoffice/android/Bootstrap.java2
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