aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.c b/main.c
index 59bfab9..244fc69 100644
--- a/main.c
+++ b/main.c
@@ -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");