Some remaining fixes

This commit is contained in:
Berke Viktor
2012-10-30 08:58:50 +01:00
parent e681eafa78
commit 8d6f4d9d40
16 changed files with 33 additions and 33 deletions

View File

@@ -70,7 +70,7 @@ You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin"
* gchar\*: Name of the command (without the forward slash).
* int: Priority of this command.
* gchar\*: String of text to display when the user executes /help for this command. May be NULL if you're lazy.
* int: Value to returns when the command is catched. See XCHAT\_EAT\_*.
* int: Value to returns when the command is catched. See HEXCHAT\_EAT\_*.
* Returns:
* guint: The ID of the hook.
@@ -78,7 +78,7 @@ You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin"
* Parameters:
* gchar\*: Name of the server event.
* int: Priority of this command.
* int: Value to returns when the command is catched. See XCHAT\_EAT\_*.
* int: Value to returns when the command is catched. See HEXCHAT\_EAT\_*.
* Returns:
* guint: The ID of the hook.
@@ -86,7 +86,7 @@ You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin"
* Parameters:
* gchar\*: Name of the print event.
* int: Priority of this command.
* int: Value to returns when the command is catched. See XCHAT\_EAT\_*.
* int: Value to returns when the command is catched. See HEXCHAT\_EAT\_*.
* Returns:
* guint: The ID of the hook.

View File

@@ -514,7 +514,7 @@ a context cannot be found.</p>
</table><p>This function is used to retrieve certain information about the current
context. If there is an associated command then that command can be used to change the value for a particular ID.</p><p>
</p>
<h3><a name="xchat_get_prefs" /><code>Xchat::get_prefs( $name )</code></h3>
<h3><a name="hexchat_get_prefs" /><code>Xchat::get_prefs( $name )</code></h3>
<ul>
<li><strong><code>$name</code> - name of a X-Chat setting (available through the /set command)</strong>
</li>

View File

@@ -875,7 +875,7 @@ A few extra bits of information are available that don't appear in the _/SET_ li
int i;
const char *str;
if (xchat_get_prefs (ph, "irc_nick1", &amp;str, &amp;i) == 1)
if (hexchat_get_prefs (ph, "irc_nick1", &amp;str, &amp;i) == 1)
{
hexchat_printf (ph, "Current nickname setting: %s\n", str);
}