summaryrefslogtreecommitdiff
path: root/doc/it/weechat_plugin_api.it.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-08-03 22:11:04 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-08-03 22:11:04 +0200
commitb94a1ce59baa99e2076c83d82f25cbe5d9a7c19b (patch)
tree1da99d6ebc37a8cf9544d451719c339126ecdfc6 /doc/it/weechat_plugin_api.it.txt
parent43e3ff3b1a42a6516c53d175c96f58df059f324f (diff)
downloadweechat-b94a1ce59baa99e2076c83d82f25cbe5d9a7c19b.zip
doc: fix typo in examples for function bar_new (plugin API reference)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.txt')
-rw-r--r--doc/it/weechat_plugin_api.it.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index 496d4e35a..ceee1ac49 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -12077,7 +12077,7 @@ Esempio in C:
----------------------------------------
struct t_gui_bar *my_bar = weechat_bar_new ("mybar",
"off",
- 100,
+ "100",
"window",
"",
"top",
@@ -12102,7 +12102,7 @@ bar = weechat.bar_new(name, hidden, priority, type, condition, position,
color_fg, color_delim, color_bg, separator, items)
# esempio
-bar = weechat.bar_new("mybar", "off", 100, "window", "", "top", "horizontal", "vertical",
+bar = weechat.bar_new("mybar", "off", "100", "window", "", "top", "horizontal", "vertical",
"0", "5", "default", "cyan", "blue", "off", "time,buffer_number+buffer_name")
----------------------------------------