diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-04 13:18:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-04 14:01:39 +0300 |
commit | f1aca5bf8a2f5d065589f21475c017e0bb8cbc9d (patch) | |
tree | 36f00b1e2dc8eb517400d0e281ea8c5e1d035841 /android | |
parent | f9e88410cffcfe8765770486aa3736cd82726e9f (diff) |
Fix infinite loop introduced by accident
Change-Id: I4aee6214123b14f40e01850e1814a4e2d089ec8c
Diffstat (limited to 'android')
-rw-r--r-- | android/Bootstrap/src/org/libreoffice/android/Bootstrap.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java index b2fc540d0636..116c6c476100 100644 --- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java +++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java @@ -218,6 +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[0] will be replaced by android_main() in lo-bootstrap.c by the |