Date:2016-08-23 03:42:19 (7 years 7 months ago)
Author:Werner Almesberger
Commit:c0cb1d3bfbc70afd3af5ba7998301e38995726e1
Message:eeshow/kicad/pro.c (pro_parse_file): strchr vs. strrchr ...

Files: eeshow/kicad/pro.c (1 diff)

Change Details

eeshow/kicad/pro.c
102102
103103        assert(pro.fn->pro);
104104        s = stralloc(pro.fn->pro);
105        dot = strchr(s, '.');
105        dot = strrchr(s, '.');
106        assert(!strcmp(dot, ".pro"));
106107        strcpy(dot, ".sch");
107108        pro.fn->sch = s;
108109    }

Archive Download the corresponding diff file

Branches:
master



interactive