aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2011-11-03 01:06:56 +0000
committerEugene Sandulenko2011-11-03 01:06:56 +0000
commit7e298f13a163dc2dfd18a654eaf059744b6dea75 (patch)
tree2163b9404a060e91a8221ddd1b7de0922e7b0c67 /engines
parentc5fa1cabd8070df6b669c36d995566f27358301c (diff)
downloadscummvm-rg350-7e298f13a163dc2dfd18a654eaf059744b6dea75.tar.gz
scummvm-rg350-7e298f13a163dc2dfd18a654eaf059744b6dea75.tar.bz2
scummvm-rg350-7e298f13a163dc2dfd18a654eaf059744b6dea75.zip
SCI: Fix copy/paste error
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/klists.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/klists.cpp b/engines/sci/engine/klists.cpp
index 8500f08211..83e59c9c20 100644
--- a/engines/sci/engine/klists.cpp
+++ b/engines/sci/engine/klists.cpp
@@ -409,7 +409,7 @@ int sort_temp_cmp(const void *p1, const void *p2) {
const sort_temp_t *st1 = (const sort_temp_t *)p1;
const sort_temp_t *st2 = (const sort_temp_t *)p2;
- if (st1->order.segment < st1->order.segment || (st1->order.segment == st1->order.segment && st1->order.offset < st2->order.offset))
+ if (st1->order.segment < st2->order.segment || (st1->order.segment == st2->order.segment && st1->order.offset < st2->order.offset))
return -1;
if (st1->order.segment > st2->order.segment || (st1->order.segment == st2->order.segment && st1->order.offset > st2->order.offset))