X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;h=24dff0a14151f3da405443c81011ac0f8d64e1da;hp=d9fa584ba46d9c73038bf5e325932d478c283452;hb=a9b3f951dddb14ac0188e3e451325592267a22d5;hpb=04085eb0cee3b0654336d68f9256da728805773f diff --git a/launcher.c b/launcher.c index d9fa584..24dff0a 100644 --- a/launcher.c +++ b/launcher.c @@ -154,7 +154,7 @@ static void launch_other_browser(struct swb_context *ctx, char *uri) { /* Move the string after the ', including the \0, over two chars */ - memmove(quote+3, quote+1, strlen(quote)+1); + memmove(quote+3, quote+1, strlen(quote)); memcpy(quote, "%27", 3); quote = quote + 3; }