summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2009-02-01 13:37:32 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2009-02-01 13:37:32 +0000
commit3f0c50e5a0eba982aca4ff377b1018018fb16b64 (patch)
tree295e998f83525c84c02f6b54496fe87670b4834b /amiga
parente8399d8a76821984e1159dc27368202e96799c4b (diff)
downloadnetsurf-3f0c50e5a0eba982aca4ff377b1018018fb16b64.tar.gz
netsurf-3f0c50e5a0eba982aca4ff377b1018018fb16b64.tar.bz2
- C strings have always an implicit NUL character at the end, no need to specify an extra one.
- riscos/configure/con_theme.c: removed spurious code line. svn path=/trunk/netsurf/; revision=6331
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/arexx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c
index bef46cdf3..5d6a60938 100755
--- a/amiga/arexx.c
+++ b/amiga/arexx.c
@@ -156,7 +156,7 @@ STATIC VOID rx_geturl(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((u
}
else
{
- strcpy(result,"\0");
+ strcpy(result,"");
}
cmd->ac_Result = result;
@@ -170,7 +170,7 @@ STATIC VOID rx_gettitle(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__(
}
else
{
- strcpy(result,"\0");
+ strcpy(result,"");
}
cmd->ac_Result = result;