aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-01-10 02:37:23 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-01-10 02:37:23 +0300
commitea1cd66193d64bb1cd56c24f0db011eadbf558e6 (patch)
tree9447d65fc7c31833842dcb8564a45a60c9ec2c14 /src
parenta0f273300aec59d31eb332e531efd8249fc67f20 (diff)
downloadcsx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.tar
csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.tar.xz
csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.zip
Optimizations + human-readable translator output.
Diffstat (limited to 'src')
-rw-r--r--src/csx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csx.c b/src/csx.c
index 73f8690..440d732 100644
--- a/src/csx.c
+++ b/src/csx.c
@@ -229,7 +229,7 @@ static void *lookup_frame(const char *name)
{
pair_data *frame = context->head;
while (type(frame) == type_pair) {
- if (!strcmp(head(frame->head), name)) return frame->head;
+ if (head(frame->head) == name) return frame->head;
frame = frame->tail;
}
return null;