diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-09 15:33:32 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-09 15:33:32 -0400 |
| commit | e4cf349f9d985e3b1a34e4497b4dd87b6371b40e (patch) | |
| tree | f9e81df73b75079326cb660456cb6bbc7e77fbd4 /ws2a/bugsdata.c | |
| parent | 08c9221ad098c14761324be9c941af84bc63ad79 (diff) | |
| download | webpage-e4cf349f9d985e3b1a34e4497b4dd87b6371b40e.tar.gz webpage-e4cf349f9d985e3b1a34e4497b4dd87b6371b40e.tar.bz2 webpage-e4cf349f9d985e3b1a34e4497b4dd87b6371b40e.zip | |
Fixed small bug with characters
Diffstat (limited to 'ws2a/bugsdata.c')
| -rw-r--r-- | ws2a/bugsdata.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ws2a/bugsdata.c b/ws2a/bugsdata.c index d04560e..047642a 100644 --- a/ws2a/bugsdata.c +++ b/ws2a/bugsdata.c @@ -56,17 +56,17 @@ void printbug(FILE* f){ if(part != 2){ printf("<td>"); } - }else if(c == "&"){ + }else if(c == '&'){ printf("&"); - }else if(c == "\""){ + }else if(c == '\"'){ printf("""); - }else if(c == "'"){ + }else if(c == '\''){ printf("'"); - }else if(c == "<"){ + }else if(c == '<'){ printf("<"); - }else if(c == ">"){ + }else if(c == '>'){ printf(">"); - }else if(c == "\\"){ + }else if(c == '\\'){ printf("/"); else{ putchar(c); |
