projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a better default font, line spacing and margins
[rodin/chimara.git]
/
libchimara
/
chimara-glk.c
diff --git
a/libchimara/chimara-glk.c
b/libchimara/chimara-glk.c
index 2c61dacce675a549305625bd279052d332746a98..bf0e60b7fc72cc2fd332de6be14dc406792df88d 100644
(file)
--- a/
libchimara/chimara-glk.c
+++ b/
libchimara/chimara-glk.c
@@
-624,7
+624,7
@@
chimara_glk_class_init(ChimaraGlkClass *klass)
* ChimaraGlk:monospace-font-description:
*
* Pointer to a #PangoFontDescription describing the default monospace font,
* ChimaraGlk:monospace-font-description:
*
* Pointer to a #PangoFontDescription describing the default monospace font,
- * to be used in text grid windows and
#
style_Preformatted, for example.
+ * to be used in text grid windows and
%
style_Preformatted, for example.
*
* Default value: font description created from the string
* <quote>Monospace</quote>
*
* Default value: font description created from the string
* <quote>Monospace</quote>
@@
-995,9
+995,9
@@
chimara_glk_run(ChimaraGlk *glk, gchar *plugin, int argc, char *argv[], GError *
startup_succeeded = glkunix_startup_code(&data);
priv->in_startup = FALSE;
startup_succeeded = glkunix_startup_code(&data);
priv->in_startup = FALSE;
-
gchar **ptr = data.argv
;
- while(
*ptr++
)
- g_free(
*ptr
);
+
int i=0
;
+ while(
i < data.argc
)
+ g_free(
data.argv[i++]
);
g_free(data.argv);
if(!startup_succeeded)
g_free(data.argv);
if(!startup_succeeded)