Changeset 105

Show
Ignore:
Timestamp:
04/18/06 14:24:07 (3 years ago)
Author:
jlee
Message:

Don't crash when there is no log file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/org/thestaticvoid/iriverter/LogViewer.java

    r103 r105  
    9595         
    9696        public void logMessage(final String message) { 
     97                if (message.equals("")) 
     98                        return; 
     99                 
    97100                Display.getDefault().syncExec(new Runnable() { 
    98                         public void run() { 
     101                        public void run() {                             
    99102                                text.append(message + "\n"); 
    100103