teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0509-terminal-fix-TERM_FLAG_-comment.patch

Zbigniew Jędrzejewski-Szmek 62fe94
From 621dbb0569ec318e78cfa7c71646b78eee46e8a5 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 62fe94
From: David Herrmann <dh.herrmann@gmail.com>
Zbigniew Jędrzejewski-Szmek 62fe94
Date: Sun, 5 Oct 2014 14:45:33 +0200
Zbigniew Jędrzejewski-Szmek 62fe94
Subject: [PATCH] terminal: fix TERM_FLAG_* comment
Zbigniew Jędrzejewski-Szmek 62fe94
Zbigniew Jędrzejewski-Szmek 62fe94
7BIT mode is enabled by default. Fix the comment to state this correctly.
Zbigniew Jędrzejewski-Szmek 62fe94
---
Zbigniew Jędrzejewski-Szmek 62fe94
 src/libsystemd-terminal/term-internal.h | 2 +-
Zbigniew Jędrzejewski-Szmek 62fe94
 1 file changed, 1 insertion(+), 1 deletion(-)
Zbigniew Jędrzejewski-Szmek 62fe94
Zbigniew Jędrzejewski-Szmek 62fe94
diff --git a/src/libsystemd-terminal/term-internal.h b/src/libsystemd-terminal/term-internal.h
Zbigniew Jędrzejewski-Szmek 62fe94
index f0f4432c80..a023498b53 100644
Zbigniew Jędrzejewski-Szmek 62fe94
--- a/src/libsystemd-terminal/term-internal.h
Zbigniew Jędrzejewski-Szmek 62fe94
+++ b/src/libsystemd-terminal/term-internal.h
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -582,7 +582,7 @@ struct term_parser {
Zbigniew Jędrzejewski-Szmek 62fe94
  */
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
 enum {
Zbigniew Jędrzejewski-Szmek 62fe94
-        TERM_FLAG_7BIT_MODE                     = (1U << 0),    /* 7bit mode (default: off) */
Zbigniew Jędrzejewski-Szmek 62fe94
+        TERM_FLAG_7BIT_MODE                     = (1U << 0),    /* 7bit mode (default: on) */
Zbigniew Jędrzejewski-Szmek 62fe94
         TERM_FLAG_HIDE_CURSOR                   = (1U << 1),    /* hide cursor caret (default: off) */
Zbigniew Jędrzejewski-Szmek 62fe94
         TERM_FLAG_INHIBIT_TPARM                 = (1U << 2),    /* do not send TPARM unrequested (default: off) */
Zbigniew Jędrzejewski-Szmek 62fe94
         TERM_FLAG_NEWLINE_MODE                  = (1U << 3),    /* perform carriage-return on line-feeds (default: off) */