Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: client/ContactMessageList.java
- ===================================================================
- --- client/ContactMessageList.java (revision 243)
- +++ client/ContactMessageList.java (working copy)
- @@ -307,7 +307,7 @@
- showMsgEdit(ClipBoard.getClipBoard());
- //#endif
- } else if (c == Commands.cmdResume) {
- - showMsgEdit(contact.msgSuspended);
- + newMessage();
- } else if (c == Commands.cmdQuote) {
- quoteMessage();
- } else if (c == Commands.cmdReply) {
- @@ -441,7 +441,7 @@
- if (msg == null ||
- msg.messageType == Msg.MESSAGE_TYPE_OUT ||
- msg.messageType == Msg.MESSAGE_TYPE_SUBJ) {
- - showMsgEdit(null);
- + newMessage();
- } else {
- String text;
- //#ifdef JUICK.COM
- @@ -457,7 +457,7 @@
- final String msgText = text;
- AlertBox box = new AlertBox(msg.from, SR.get(SR.MS_MSGBUFFER_NOT_EMPTY), AlertBox.BUTTONS_YESNO) {
- public void yes() { showMsgEdit(msgText); }
- - public void no() { keyGreen(); }
- + public void no() { newMessage(); }
- };
- box.show();
- return;
- @@ -490,7 +490,7 @@
- if (Config.createMessageByFive) {
- super.eventOk();
- } else {
- - showMsgEdit(contact.msgSuspended);
- + newMessage();
- }
- }
- }
- @@ -604,7 +604,9 @@
- }
- public void newMessage() {
- - showMsgEdit(null);
- + if (midlet.BombusQD.sd.roster.isLoggedIn()) {
- + showMsgEdit(contact.msgSuspended);
- + }
- }
- private void answer() {
- @@ -633,7 +635,7 @@
- }
- public void touchMiddlePressed(){
- - showMsgEdit(contact.msgSuspended);
- + newMessage();
- }
- public void touchLeftPressed(){
- Index: ui/controls/form/ImageItem.java
- ===================================================================
- --- ui/controls/form/ImageItem.java (revision 243)
- +++ ui/controls/form/ImageItem.java (working copy)
- @@ -103,7 +103,8 @@
- int newHeight=(img.getHeight() * (screenWidth * 100 / img.getWidth()))/100;
- this.img=scale(img, screenWidth, newHeight);
- }
- - } catch (Exception e) {
- + } catch(OutOfMemoryError eom){
- + } catch (Exception e) {
- }
- return true;
- //break;
- Index: vcard/VCardView.java
- ===================================================================
- --- vcard/VCardView.java (revision 243)
- +++ vcard/VCardView.java (working copy)
- @@ -199,6 +199,7 @@
- //#endif
- //photoImg = null;
- }
- + } catch (OutOfMemoryError eom) {
- } catch (Exception e) {
- addControl(badFormat);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement