aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/e-text-model.c')
-rw-r--r--widgets/text/e-text-model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/text/e-text-model.c b/widgets/text/e-text-model.c
index 8641bf1527..bb8669d9e8 100644
--- a/widgets/text/e-text-model.c
+++ b/widgets/text/e-text-model.c
@@ -208,7 +208,8 @@ e_text_model_real_set_text (ETextModel *model, const gchar *text)
g_string_set_size (model->priv->text, 0);
- } else if (*model->priv->text->str == '\0' || strcmp (model->priv->text->str, text)) {
+ } else if (*model->priv->text->str == '\0' ||
+ strcmp (model->priv->text->str, text)) {
g_string_assign (model->priv->text, text);