From: konn Date: Mon, 10 Jul 2006 12:15:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v0.14.1~390 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=41c8b72a9581345a2818b10feffaccff6c99320d;p=modchxj%2Fmod_chxj.git *** empty log message *** git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@1729 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- diff --git a/src/chxj_specified_device.c b/src/chxj_specified_device.c index c1cd8eea..fedded75 100644 --- a/src/chxj_specified_device.c +++ b/src/chxj_specified_device.c @@ -17,7 +17,46 @@ #include "mod_chxj.h" static device_table UNKNOWN_DEVICE = { - NULL, "","UNKNOWN", CHXJ_SPEC_UNKNOWN, 640, 480,640,480,0,0,0,0,0,0,0,0,0, ""}; + .next = NULL, + .device_id = "", + .device_name = "UNKNOWN", + .html_spec_type = CHXJ_SPEC_UNKNOWN, + .width = 640, + .heigh = 480, + /*--------------------------------------------------------------------------*/ + /* Walll Paper Size */ + /*--------------------------------------------------------------------------*/ + .wp_width = 640, + .wp_heigh = 480, + /*--------------------------------------------------------------------------*/ + /* Cache Size */ + /*--------------------------------------------------------------------------*/ + .cache = 10000000, + /*--------------------------------------------------------------------------*/ + /* Correspondence image format */ + /* 1: It is possible to display it. */ + /* 0: It is not possible to display it. */ + /*--------------------------------------------------------------------------*/ + .available_gif = 1, + .available_jpeg = 1, + .available_png = 1, + .available_bmp2 = 1, + .available_bmp4 = 1, + .dpi_width = 96, + .dpi_heigh = 96, + /*--------------------------------------------------------------------------*/ + /* Color number type */ + /* 2 : 2 Colors */ + /* 4 : 4 Colors */ + /* 256 : 256 Colors */ + /* 4096 : 4096 Colors */ + /* 65536 : 65536 Colors */ + /* 262144 : 262144 Colors */ + /* 15680000: 15680000 over colors */ + /*--------------------------------------------------------------------------*/ + .color = 15680000, + .emoji_type = NULL, +}; /** * The device is specified from UserAgent.