Rev 7853 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7853 | Rev 7935 | ||
---|---|---|---|
Line 95... | Line 95... | ||
95 | 95 | ||
Line 96... | Line 96... | ||
96 | //find ATTR start and copy |
96 | //find ATTR start and copy |
97 | while (i>0) && (!__isWhite(params[i])) i--; |
97 | while (i>0) && (!__isWhite(params[i])) i--; |
98 | strlcpy(#attr, #params + i + 1, sizeof(attr)-1); |
98 | strlcpy(#attr, #params + i + 1, sizeof(attr)-1); |
99 | strlwr(#attr); |
- | |
100 | params[i] = '\0'; |
99 | params[i] = '\0'; |
Line 101... | Line 100... | ||
101 | 100 | ||
102 | //fix case: src=./images/KolibriOS_logo2.jpg?sid=e8ece8b38b |
101 | //fix case: src=./images/KolibriOS_logo2.jpg?sid=e8ece8b38b |
103 | i = strchr(#attr,'='); |
102 | i = strchr(#attr,'='); |
104 | if (!quotes) && (i) { |
103 | if (!quotes) && (i) { |
105 | strlcpy(#val, i+1, sizeof(val)-1); |
104 | strlcpy(#val, i+1, sizeof(val)-1); |
106 | ESBYTE[i+1] = '\0'; |
105 | ESBYTE[i+1] = '\0'; |
- | 106 | } |
|
Line 107... | Line 107... | ||
107 | } |
107 | strlwr(#attr); |
108 | 108 | ||
Line 109... | Line 109... | ||
109 | attributes.add(#attr); |
109 | attributes.add(#attr); |