diff options
| author | Matthew Parlane <parlane@gmail.com> | 2009-09-21 11:46:10 +1200 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2009-09-21 11:46:10 +1200 |
| commit | 22c2b66224dca6af8be9ae87218822fb9c7cc475 (patch) | |
| tree | 16521813317fe28809b0df186dfa34265bfa4d04 /main.c | |
| parent | 3af6f9431232ced52faabb1a0019ff968d9483af (diff) | |
| parent | b90c5b2caa56f34afb63f6376204bd5d95a84b89 (diff) | |
Merge branch 'master' of github.com:SquidMan/benzin
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -60,6 +60,16 @@ int main(int argc, char* argv[]) { type = 2; } + ext = temp; + if(strcmp(++ext, "xmlyt") == 0) + { + type = 1; + } + ext = temp; + if(strcmp(++ext, "xmlan") == 0) + { + type = 2; + } if(type > 2) { printf("Unknown file extension\n"); |
