summaryrefslogtreecommitdiffstats
path: root/pokemod/Dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Dialog.cpp')
-rw-r--r--pokemod/Dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp
index 58252431..a24b88bb 100644
--- a/pokemod/Dialog.cpp
+++ b/pokemod/Dialog.cpp
@@ -691,7 +691,7 @@ QString Dialog::dialog() const
void Dialog::insertCommand(const int position, const QString& command) throw(BoundsException)
{
if (m_dialog.length() < position)
- throw(BoundsException(className(), "command"));
+ error<BoundsException>("command");
m_dialog.insert(position, command);
}