projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e97df22
)
Renames a variable in xorg.js to avoid conflicting with built-in type "char".
author
Vincent Zanotti
<vincent.zanotti@m4x.org>
Mon, 9 Nov 2009 00:37:50 +0000
(
01:37
+0100)
committer
Vincent Zanotti
<vincent.zanotti@m4x.org>
Mon, 9 Nov 2009 00:37:50 +0000
(
01:37
+0100)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
htdocs/javascript/xorg.js
patch
|
blob
|
blame
|
history
diff --git
a/htdocs/javascript/xorg.js
b/htdocs/javascript/xorg.js
index
2a4a19c
..
5542498
100644
(file)
--- a/
htdocs/javascript/xorg.js
+++ b/
htdocs/javascript/xorg.js
@@
-259,12
+259,12
@@
function auto_links() {
// {{{ function checkPassword
-function getType(c
har
) {
- if (c
har >= 'a' && char
<= 'z') {
+function getType(c) {
+ if (c
>= 'a' && c
<= 'z') {
return 1;
- } else if (c
har >= 'A' && char
<= 'Z') {
+ } else if (c
>= 'A' && c
<= 'Z') {
return 2;
- } else if (c
har >= '0' && char
<= '9') {
+ } else if (c
>= '0' && c
<= '9') {
return 3;
} else {
return 4;