Skip to content

Instantly share code, notes, and snippets.

@ward
Created January 18, 2012 23:18
Show Gist options
  • Save ward/1636461 to your computer and use it in GitHub Desktop.
Save ward/1636461 to your computer and use it in GitHub Desktop.
SwiftIRC Unreal - strip reverse
--- 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