소스 검색

no need for 0x in flash header bgcolor.

Nicolas Cannasse 19 년 전
부모
커밋
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")