about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-24 22:24:25 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-03-24 22:24:25 +0100
commit4c8e78664c7e9379f5d681b873a445676db32fd4 (patch)
treef4b38325d8de3c383a512c2809c815454ddc3cba /src
parentf13168005512fe4219741d9daf83681dd9ed3d63 (diff)
downloadprofani-tty-4c8e78664c7e9379f5d681b873a445676db32fd4.tar.gz
Fix old typo in titlebar presence
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 83671bd3..4313c6bb 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -5979,7 +5979,7 @@ cmd_titlebar_show_hide(ProfWin *window, const char *const command, gchar **args)
                 cons_show("Showing resource in titlebar disabled.");
                 prefs_set_boolean(PREF_RESOURCE_TITLE , FALSE);
             } else if (g_strcmp0(args[1], "presence") == 0) {
-                cons_show("Showing contact presence in titlebar enabled.");
+                cons_show("Showing contact presence in titlebar disabled.");
                 prefs_set_boolean(PREF_PRESENCE , FALSE);
             } else if (g_strcmp0(args[1], "jid") == 0) {
                 cons_show("Showing MUC JID in titlebar as title disabled.");
ighlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
discard """
  errormsg: "cannot convert 60 to TRange"
  line: 20
"""

type
  TRange = range[0..40]

proc p(r: TRange) =
  discard

var
  r: TRange
  y = 50
r = y

p y

const
  myConst: TRange = 60