c icon indicating copy to clipboard operation
c copied to clipboard

Small mistake in code

Open saadtaame opened this issue 10 years ago • 2 comments

In the following piece of code I think you meant to write if(c >= 'A' && c <= 'F').

hexnumberc(int c)
{
    if(numberc(c))
        return 1;
    if(c >= 'a' && c = 'F' && c 

saadtaame avatar Dec 07 '15 19:12 saadtaame

Good spotting, up until now I have been reviewing myself.

If you want credit you can make a pull request for this. No need to make a test case, I will add one.

andrewchambers avatar Dec 07 '15 21:12 andrewchambers

This is fixed, though I won't close until I add some more tests. Thanks again.

andrewchambers avatar Dec 10 '15 01:12 andrewchambers