[gnome-builder] editor: couple more change monitoring tweaks.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: couple more change monitoring tweaks.
- Date: Tue, 16 Sep 2014 05:03:48 +0000 (UTC)
commit 253ccebfce47eea83ccb76a4a0ee92234e3fb00c
Author: Christian Hergert <christian hergert me>
Date: Mon Sep 15 22:03:42 2014 -0700
editor: couple more change monitoring tweaks.
src/editor/gb-source-change-monitor.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/editor/gb-source-change-monitor.c b/src/editor/gb-source-change-monitor.c
index 7764e61..0f56007 100644
--- a/src/editor/gb-source-change-monitor.c
+++ b/src/editor/gb-source-change-monitor.c
@@ -149,8 +149,7 @@ get_line_mutation (const GtkTextIter *begin,
}
else if ((line == begin_line) &&
gtk_text_iter_starts_line (begin) &&
- gtk_text_iter_starts_line (end) &&
- !gtk_text_iter_ends_line (end))
+ gtk_text_iter_starts_line (end))
{
*delete_line = TRUE;
*is_changed = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]