OSDN Git Service
(root)
/
modchxj
/
mod_chxj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
106f9cf
)
* Writing is changed.
author
konn
<konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Sun, 18 Jun 2006 10:09:55 +0000
(10:09 +0000)
committer
konn
<konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Sun, 18 Jun 2006 10:09:55 +0000
(10:09 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/trunk@1008
1a406e8e
-add9-4483-a2c8-
d8cac5b7c224
src/chxj_qr_code.c
patch
|
blob
|
history
diff --git
a/src/chxj_qr_code.c
b/src/chxj_qr_code.c
index
c2abdff
..
86e4c85
100644
(file)
--- a/
src/chxj_qr_code.c
+++ b/
src/chxj_qr_code.c
@@
-1891,16
+1891,13
@@
s_setup_position_adjust(qr_code_t* qrcode, char* dst[])
if (dst[myy][mxx] != -1)
continue;
- for (dyy = -2; dyy <= 2; dyy++)
- {
- for (dxx= -2; dxx <= 2; dxx++)
- {
+ for (dyy = -2; dyy <= 2; dyy++) {
+ for (dxx= -2; dxx <= 2; dxx++) {
if (dyy == -2
|| dxx == -2
|| dyy == 2
|| dxx == 2
- || (dyy == 0 && dxx == 0))
- {
+ || (dyy == 0 && dxx == 0)) {
assert(myy+dyy >= 0);
assert(myy+dyy < module_count);
dst[myy+dyy][mxx+dxx] = '1';