some formatting

This commit is contained in:
berkeviktor@aol.com 2010-10-20 22:49:55 +02:00
parent cd49a8325c
commit a4c0e7f3fe
2 changed files with 7 additions and 7 deletions

View File

@ -107,8 +107,8 @@ dccrecv_cb(char *word[], void *userdata)
{
unsigned char sum[65];
sha256_file (word[2], sum);
xchat_printf (ph, "DCC RECV %s from %s complete [%s cps]", word[1], word[3], word[4]);
xchat_printf (ph, "SHA256 checksum for %s:\n%s", word[1], sum);
xchat_printf (ph, "DCC RECV %s from %s complete [%s cps]\n", word[1], word[3], word[4]);
xchat_printf (ph, "SHA256 checksum for %s:\n%s\n", word[1], sum);
return XCHAT_EAT_XCHAT;
}
@ -117,8 +117,8 @@ dccoffer_cb(char *word[], void *userdata)
{
unsigned char sum[65];
sha256_file (word[3], sum);
xchat_printf (ph, "Offering %s to %s", word[1], word[2]);
xchat_printf (ph, "SHA256 checksum for %s:\n%s", word[1], sum);
xchat_printf (ph, "Offering %s to %s\n", word[1], word[2]);
xchat_printf (ph, "SHA256 checksum for %s:\n%s\n", word[1], sum);
return XCHAT_EAT_XCHAT;
}

View File

@ -74,15 +74,15 @@ print_version ()
if (strcmp (version, xchat_get_info (ph, "version")) == 0)
{
xchat_printf (ph, "You have the latest version of XChat-WDK installed!");
xchat_printf (ph, "You have the latest version of XChat-WDK installed!\n");
}
else if (strcmp (version, "Unknown") == 0)
{
xchat_printf (ph, "Unable to check for XChat-WDK updates!");
xchat_printf (ph, "Unable to check for XChat-WDK updates!\n");
}
else
{
xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s.exe", version);
xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s.exe\n", version);
}
}