2
0
Эх сурвалжийг харах

no need for 0x in flash header bgcolor.

Nicolas Cannasse 19 жил өмнө
parent
commit
0607a2cff3
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      main.ml

+ 1 - 1
main.ml

@@ -145,7 +145,7 @@ try
 				| [width; height; fps] ->
 					(int_of_string width,int_of_string height,float_of_string fps,0xFFFFFF)
 				| [width; height; fps; color] ->
-					(int_of_string width, int_of_string height, float_of_string fps, int_of_string color)
+					(int_of_string width, int_of_string height, float_of_string fps, int_of_string ("0x" ^ color))
 				| _ -> raise Exit)
 			with
 				_ -> raise (Arg.Bad "Invalid SWF header format")