From: Oliver Schmidt
Date: Fri, 26 Apr 2013 19:54:54 +0000 (+0200)
Subject: In general "\%s" doesn't seem to be a valid printf format specifier. Given where...
X-Git-Tag: V2.14~59
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b45b6789a461df8f6d6ce42ea2a35833e20ba922;p=cc65
In general "\%s" doesn't seem to be a valid printf format specifier. Given where it originally came from and how OneLine() is used elsewhere I'm pretty sure that it should rather read "%s".
---
diff --git a/src/da65/handler.c b/src/da65/handler.c
index 37cc4fff6..ee27ae857 100644
--- a/src/da65/handler.c
+++ b/src/da65/handler.c
@@ -627,7 +627,7 @@ void OH_SpecialPage (const OpcDesc* D)
GenerateLabel (D->Flags, Addr);
/* OneLine (D, "$FF%02X", (CodeByte (PC+1)); */
- OneLine (D, "\%s", GetAddrArg (D->Flags, Addr));
+ OneLine (D, "%s", GetAddrArg (D->Flags, Addr));
}