Skip to content

Commit

Permalink
Fixed localization problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 8, 2001
1 parent a629e45 commit 5d487fd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions last/toby/gui/TobyMenuBar.java
Expand Up @@ -392,14 +392,18 @@ public void run()
} // try
catch (FlowException exc)
{
String s = TobyLanguage.ERR_IN_FUNC;
String s = ((exc.procName == null) ? TobyLanguage.ERR_OUT_FUNC :
TobyLanguage.ERR_IN_FUNC);

s = TobyLanguage.replaceFmtTokenInStr(0, s, exc.getMessage());
s = TobyLanguage.replaceFmtTokenInStr(1, s, exc.exceptionLine);
s = TobyLanguage.replaceFmtTokenInStr(2, s, exc.procName);

if (exc.procName != null)
s = TobyLanguage.replaceFmtTokenInStr(2, s, exc.procName);

JOptionPane.showMessageDialog(null, s, TobyLanguage.ERROR,
JOptionPane.ERROR_MESSAGE);


// !!! temp
exc.printStackTrace();
} // catch
Expand Down

0 comments on commit 5d487fd

Please sign in to comment.