Oh no! I forgot the debugging code! How can I make souch a mistake within 5 changed lines? I think I should keep my fingers from the code today.
Daniel
From cba44db884d25a9cf8505419a3378c77204c71fa Mon Sep 17 00:00:00 2001 From: Daniel Carl <[email protected]> Date: Sun, 3 Feb 2013 13:13:21 +0100 Subject: [PATCH] Fixed removed atoi call to get embed id. --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index b139c4e..b797afc 100644 --- a/main.c +++ b/main.c @@ -2843,7 +2843,11 @@ main(int argc, char *argv[]) { g_thread_init(NULL); if (winid) { - client.state.embed = strtol(winid, NULL, 16); + if (strncmp(winid, "0x", 2) == 0) { + client.state.embed = strtol(winid, NULL, 16); + } else { + client.state.embed = atoi(winid); + } } setup_modkeys(); -- 1.7.9.5
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________ Vimprobable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vimprobable-users
