aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index e6bd57bd..fabcac82 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3713,7 +3713,7 @@ void Courtroom::handle_song(QStringList *p_contents)
}
bool is_stop = (f_song == "~stop.mp3");
- if (n_char > 0 && n_char < char_list.size()) {
+ if (n_char >= 0 && n_char < char_list.size()) {
QString str_char = char_list.at(n_char).name;
QString str_show = ao_app->get_showname(str_char);
if (p_contents->length() > 2) {