Skip to content
Snippets Groups Projects
Commit dfa1073f authored by deuce's avatar deuce
Browse files

Kill the SP macro... and I mean it this time!

Blame any new SP releated errors on me.
parent fa8c90c7
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,6 @@
#define TAB '\t' /* Horizontal tabulation ^I */
#define LF '\n' /* Line feed ^J */
#define CR '\r' /* Carriage return ^M */
#define SP ' ' /* Space */
enum {
CTRL_A=1
......
......@@ -54,7 +54,7 @@ static void truncsp(char *str)
uint c;
c=strlen(str);
while(c && (uchar)str[c-1]<=SP) c--;
while(c && (uchar)str[c-1]<=' ') c--;
str[c]=0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment