[gtranslator] Small fix to TM shortcuts
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Small fix to TM shortcuts
- Date: Sun, 1 Apr 2012 11:33:03 +0000 (UTC)
commit 8fc76cde9f97a5d077985814a676d3bfcab81dd0
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Sun Apr 1 13:31:52 2012 +0200
Small fix to TM shortcuts
.../translation-memory/gtr-translation-memory-ui.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/translation-memory/gtr-translation-memory-ui.c b/plugins/translation-memory/gtr-translation-memory-ui.c
index 4ae9988..c58c172 100644
--- a/plugins/translation-memory/gtr-translation-memory-ui.c
+++ b/plugins/translation-memory/gtr-translation-memory-ui.c
@@ -195,7 +195,7 @@ showed_message_cb (GtrTab *tab, GtrMsg *msg, GtrTranslationMemoryUi *tm_ui)
-1);
i++;
k++;
- if (k == MAX_ELEMENTS)
+ if (k == MAX_ELEMENTS - 1)
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]