diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/gl/gl-ui.c | 2 | ||||
-rw-r--r-- | platform/java/mupdf_native.c | 2 | ||||
-rw-r--r-- | platform/x11/pdfapp.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/platform/gl/gl-ui.c b/platform/gl/gl-ui.c index 9552e562..e4f2bf91 100644 --- a/platform/gl/gl-ui.c +++ b/platform/gl/gl-ui.c @@ -173,7 +173,6 @@ void ui_draw_bevel_imp(fz_irect area, unsigned ot, unsigned it, unsigned ib, uns glRectf(area.x0+1, area.y1-2, area.x1-2, area.y1-1); } - void ui_draw_bevel(fz_irect area, int depressed) { if (depressed) @@ -872,7 +871,6 @@ void ui_splitter(int *x, int min, int max, enum side side) glColorHex(UI_COLOR_BEVEL_1); glRectf(area.x0+3, area.y0, area.x0+4, area.y1); } - } void ui_scrollbar(int x0, int y0, int x1, int y1, int *value, int page_size, int max) diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c index 459590ba..27095891 100644 --- a/platform/java/mupdf_native.c +++ b/platform/java/mupdf_native.c @@ -1012,7 +1012,6 @@ fz_font *load_droid_fallback_font(fz_context *ctx, int script, int language, int case UCDN_SCRIPT_NUSHU: return load_noto_try(ctx, "Nushu"); case UCDN_SCRIPT_SOYOMBO: return load_noto_try(ctx, "Soyombo"); case UCDN_SCRIPT_ZANABAZAR_SQUARE: return load_noto_try(ctx, "ZanabazarSquare"); - } return NULL; } @@ -3211,7 +3210,6 @@ FUN(NativeDevice_endLayer)(JNIEnv *env, jobject self) jni_rethrow(env, ctx); } - JNIEXPORT void JNICALL FUN(NativeDevice_beginMask)(JNIEnv *env, jobject self, jobject jrect, jboolean luminosity, jobject jcs, jfloatArray jcolor, jint jcp) { diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index 72efdcdc..c647a4c0 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -252,7 +252,6 @@ static int make_fake_doc(pdfapp_t *app) pdf = pdf_create_document(ctx); - contents = fz_new_buffer(ctx, 100); fz_append_printf(ctx, contents, "1 0 0 RG %g w 0 0 m %g %g l 0 %g m %g 0 l s\n", fz_min(mediabox.x1, mediabox.y1) / 20, |