aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/Makefile.in2
-rw-r--r--java/org/gnu/emacs/EmacsDrawLine.java7
2 files changed, 7 insertions, 2 deletions
diff --git a/java/Makefile.in b/java/Makefile.in
index b32b2442305..755995b93b1 100644
--- a/java/Makefile.in
+++ b/java/Makefile.in
@@ -150,7 +150,9 @@ emacs.apk-in: $(CROSS_BINS) $(CROSS_LIBS) $(libsrc)/asset-directory-tool \
150 cp -f $$file install_temp/lib/$(ANDROID_ABI); \ 150 cp -f $$file install_temp/lib/$(ANDROID_ABI); \
151 fi \ 151 fi \
152 done 152 done
153ifneq ($(NDK_BUILD_SHARED),)
153 cp -f $(NDK_BUILD_SHARED) install_temp/lib/$(ANDROID_ABI) 154 cp -f $(NDK_BUILD_SHARED) install_temp/lib/$(ANDROID_ABI)
155endif
154# Package everything. Specifying the assets on this command line is 156# Package everything. Specifying the assets on this command line is
155# necessary for AAssetManager_getNextFileName to work on old versions 157# necessary for AAssetManager_getNextFileName to work on old versions
156# of Android. 158# of Android.
diff --git a/java/org/gnu/emacs/EmacsDrawLine.java b/java/org/gnu/emacs/EmacsDrawLine.java
index 827feb96dfb..717e2279a7d 100644
--- a/java/org/gnu/emacs/EmacsDrawLine.java
+++ b/java/org/gnu/emacs/EmacsDrawLine.java
@@ -56,9 +56,12 @@ public class EmacsDrawLine
56 56
57 paint.setStyle (Paint.Style.STROKE); 57 paint.setStyle (Paint.Style.STROKE);
58 58
59 /* Since drawLine has PostScript style behavior, adjust the
60 coordinates appropriately. */
61
59 if (gc.clip_mask == null) 62 if (gc.clip_mask == null)
60 canvas.drawLine ((float) x, (float) y, 63 canvas.drawLine ((float) x + 0.5f, (float) y + 0.5f,
61 (float) x2, (float) y2, 64 (float) x2 + 0.5f, (float) y2 + 0.5f,
62 paint); 65 paint);
63 66
64 /* DrawLine with clip mask not implemented; it is not used by 67 /* DrawLine with clip mask not implemented; it is not used by