Created
January 18, 2012 23:18
-
-
Save ward/1636461 to your computer and use it in GitHub Desktop.
SwiftIRC Unreal - strip reverse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- m_message.c.old 2012-01-19 00:17:45.142995611 +0100 | |
+++ m_message.c 2012-01-19 00:17:58.849662027 +0100 | |
@@ -1350,7 +1350,7 @@ | |
rgb = 1; | |
nc = 0; | |
} | |
- else | |
+ else if (*text != '\026') /* (strip reverse too) */ | |
{ | |
new_str[i] = *text; | |
i++; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment