mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
more informative error code
This commit is contained in:
parent
918a0738fe
commit
c1e3fd4c3e
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := DeflatingDecompressor-v2
|
||||
LOCAL_MODULE := DeflatingDecompressor-v3
|
||||
LOCAL_SRC_FILES := DeflatingDecompressor/DeflatingDecompressor.cpp
|
||||
LOCAL_LDLIBS := -lz
|
||||
|
||||
|
|
|
@ -79,5 +79,5 @@ jlong Java_org_amse_ys_zip_DeflatingDecompressor_inflate(JNIEnv *env, jobject th
|
|||
}
|
||||
return result;
|
||||
}
|
||||
return -3;
|
||||
return -1024 + code;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.io.*;
|
|||
|
||||
class DeflatingDecompressor extends Decompressor {
|
||||
static {
|
||||
System.loadLibrary("DeflatingDecompressor-v2");
|
||||
System.loadLibrary("DeflatingDecompressor-v3");
|
||||
}
|
||||
|
||||
// common variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue