Mercurial > MadButterfly
diff examples/svg2code_ex/main.c @ 79:5bcb329a5157
Fix bug of core dump caused by forget to check if parent is NULL, root.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 20 Aug 2008 23:47:18 +0800 |
parents | 3645e29e4986 |
children | ea758bb3bbe2 |
line wrap: on
line diff
--- a/examples/svg2code_ex/main.c Wed Aug 20 23:33:04 2008 +0800 +++ b/examples/svg2code_ex/main.c Wed Aug 20 23:47:18 2008 +0800 @@ -8,7 +8,7 @@ svg2code_ex_t *svg2code; int r; - r = X_MB_init(":0.0", 200, 200, &rt); + r = X_MB_init(":0.0", 800, 600, &rt); svg2code = svg2code_ex_new(rt.rdman); X_MB_handle_connection(rt.display, rt.rdman, rt.tman);