diff options
Diffstat (limited to 'src/LYCharUtils.c')
-rw-r--r-- | src/LYCharUtils.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/LYCharUtils.c b/src/LYCharUtils.c index 2e69073c..c9d8b714 100644 --- a/src/LYCharUtils.c +++ b/src/LYCharUtils.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYCharUtils.c,v 1.101 2009/06/07 16:40:09 tom Exp $ + * $LynxId: LYCharUtils.c,v 1.102 2009/06/23 19:44:06 tom Exp $ * * Functions associated with LYCharSets.c and the Lynx version of HTML.c - FM * ========================================================================== @@ -2738,11 +2738,7 @@ void LYHandleSELECT(HTStructured * me, const BOOL *present, */ if (me->inTEXTAREA) { if (LYBadHTML(me)) { - char *msg = NULL; - - HTSprintf0(&msg, "Bad HTML: Missing TEXTAREA end tag\n"); - LYShowBadHTML(msg); - FREE(msg); + LYShowBadHTML("Bad HTML: Missing TEXTAREA end tag\n"); } } @@ -2818,11 +2814,7 @@ void LYHandleSELECT(HTStructured * me, const BOOL *present, */ if (!me->inSELECT) { if (LYBadHTML(me)) { - char *msg = NULL; - - HTSprintf0(&msg, "Bad HTML: Unmatched SELECT end tag\n"); - LYShowBadHTML(msg); - FREE(msg); + LYShowBadHTML("Bad HTML: Unmatched SELECT end tag\n"); } return; } |