1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 12:00:17 +02:00

Esc-Home problem has been fixed

This commit is contained in:
Nikolay Pultsin 2011-06-08 01:40:35 +01:00
parent d572615042
commit f59f1509ca
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ public class CancelActivity extends ListActivity {
}
public final void onItemClick(AdapterView<?> parent, View view, int position, long id) {
setResult((int)id);
setResult((int)id + 1);
finish();
}
}

View file

@ -244,7 +244,7 @@ public final class FBReader extends ZLAndroidActivity {
break;
}
case CANCEL_CODE:
fbreader.runCancelAction(resultCode);
fbreader.runCancelAction(resultCode - 1);
break;
}
}