Index: mania2.c
===================================================================
--- mania2.c	(revision 159)
+++ mania2.c	(revision 160)
@@ -778,9 +778,11 @@
 
 while(fgets(trifile,255,fp)!=NULL)
     {
+//    if(!strlen(trifile)) continue;
+//    trifile[strlen(trifile)-1]=0;
+    raydium_parser_trim(trifile);
+    printf("-%s-\n",trifile);
     if(!strlen(trifile)) continue;
-    trifile[strlen(trifile)-1]=0;
-    if(!strlen(trifile)) continue;
     if(trifile[0]=='#') continue;
     if(trifile[0]=='*')
 	{
ication"             #title of the window,application (default:  Raydium application 0.1)
-filter="aniso"                          #texture filter: none, bilinear, trilinear, aniso (default:  trilinear)
-fov=60                                  #view angle, ie fov (default:  60)
-near=0.001                              #distance to the nearets object(plane) draw   (default:  0.001)
-far=2500                                #distance to the further   object(plane) draw (default:  2500)
-fog="off"                                #fog: on/enable or off/disable (default:  off)
-lighting="on"                           #lighting: on/enable or off/disable (default: on )
-light0=0,50,150,200,1000000,1,0.9,0.7   #light 0 parameters (default:  0,50,150,200,1000000,1,0.9,0.7)
-background=1,0.9,0.7,1                  #background color (default:  1,0.9,0.7,1)
-hdr="off"                             #Fake HDR effect(default:off)
-paths="foldered"                      #data can be foldered into "data" folders and its subfolders: "foldered" or anything else. (default:"foldered")
-sky="box"                             #Sky type: "box" or "dynamic"