comparison lwlink/link.c @ 263:8dd8c3bdca7c

Fix stupid error with ' vs " handling os9 edition Thanks to David Ladd <dladd@realmspire.com> for the bug report and running some debugging to find the crash. Strings in C must be enclosed in ", not ' which is what was actually in the source code. I suppose that's what comes from coding while 9 parts asleep.
author William Astle <lost@l-w.ca>
date Tue, 05 Feb 2013 22:39:34 -0700
parents 7de7b14ebaee
children 346966cffeef
comparison
equal deleted inserted replaced
262:7de7b14ebaee 263:8dd8c3bdca7c
779 } 779 }
780 else if (!strcasecmp(sm, "stack")) 780 else if (!strcasecmp(sm, "stack"))
781 { 781 {
782 linkscript.stacksize += sym -> offset; 782 linkscript.stacksize += sym -> offset;
783 } 783 }
784 else if (!strcasecmp(sm, 'edition')) 784 else if (!strcasecmp(sm, "edition"))
785 { 785 {
786 linkscript.edition = sym -> offset; 786 linkscript.edition = sym -> offset;
787 st -> edseen++; 787 st -> edseen++;
788 } 788 }
789 } 789 }