1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

doc: fix typo in examples for function bar_new (plugin API reference)

This commit is contained in:
Sebastien Helleu
2013-08-03 22:11:04 +02:00
parent 43e3ff3b1a
commit b94a1ce59b
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -11899,7 +11899,7 @@ C example:
----------------------------------------
struct t_gui_bar *my_bar = weechat_bar_new ("mybar",
"off",
100,
"100",
"window",
"",
"top",
@@ -11924,7 +11924,7 @@ bar = weechat.bar_new(name, hidden, priority, type, condition, position,
color_fg, color_delim, color_bg, separator, items)
# example
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")
----------------------------------------
+2 -2
View File
@@ -12104,7 +12104,7 @@ Exemple en C :
----------------------------------------
struct t_gui_bar *my_bar = weechat_bar_new ("mybar",
"off",
100,
"100",
"window",
"",
"top",
@@ -12129,7 +12129,7 @@ bar = weechat.bar_new(name, hidden, priority, type, condition, position,
color_fg, color_delim, color_bg, separator, items)
# exemple
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")
----------------------------------------
+2 -2
View File
@@ -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")
----------------------------------------