From: konn Date: Sun, 18 Jun 2006 10:10:12 +0000 (+0000) Subject: * Writing is changed. X-Git-Tag: v0.14.1~1103 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=027201b54dbc7c765ede7599a3c4af5a2f974ffe;p=modchxj%2Fmod_chxj.git * Writing is changed. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@1009 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- diff --git a/src/chxj_qr_code.c b/src/chxj_qr_code.c index 86e4c850..c10184ba 100644 --- a/src/chxj_qr_code.c +++ b/src/chxj_qr_code.c @@ -1902,8 +1902,7 @@ s_setup_position_adjust(qr_code_t* qrcode, char* dst[]) assert(myy+dyy < module_count); dst[myy+dyy][mxx+dxx] = '1'; } - else - { + else { assert(myy+dyy >= 0); assert(myy+dyy < module_count); dst[myy+dyy][mxx+dxx] = '0'; @@ -1912,10 +1911,12 @@ s_setup_position_adjust(qr_code_t* qrcode, char* dst[]) } } } + #ifdef QR_CODE_DEBUG - ap_log_rerror(APLOG_MARK,APLOG_DEBUG, 0, qrcode->r, "end s_setup_position_adjust()"); + DBG(qrcode->r, "end s_setup_position_adjust()"); #endif } + static void s_setup_type_info(qr_code_t* qrcode, char* dst[], qr_mask_pattern_t pat) {