Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Added a cast, to pacify picky compliers. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
33c186a204d4b19c8fe826c4dee91eb2 |
User & Date: | rolf 2008-03-04 20:52:47 |
Context
2008-03-04
| ||
20:58 | See file. check-in: 45cb0ea256 user: rolf tags: trunk | |
20:52 | Added a cast, to pacify picky compliers. check-in: 33c186a204 user: rolf tags: trunk | |
20:35 | See file. check-in: 5abde0c7a3 user: rolf tags: trunk | |
Changes
Changes to generic/domhtml.c.
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
*(attrnode->nodeValue + nArgVal) = 0;
if (ampersandSeen) {
TranslateEntityRefs(attrnode->nodeValue,
&(attrnode->valueLength) );
}
if (!strcmp(ArgName, "id")) {
if (!doc->ids) {
doc->ids = MALLOC (sizeof (Tcl_HashTable));
Tcl_InitHashTable (doc->ids, TCL_STRING_KEYS);
}
h = Tcl_CreateHashEntry (doc->ids, attrnode->nodeValue,
&hnew);
/* How to resolve in case of dublicates? We
follow, what the core dom building code does:
the first value in document order wins. */
|
> | |
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 |
*(attrnode->nodeValue + nArgVal) = 0; if (ampersandSeen) { TranslateEntityRefs(attrnode->nodeValue, &(attrnode->valueLength) ); } if (!strcmp(ArgName, "id")) { if (!doc->ids) { doc->ids = (Tcl_HashTable *) MALLOC (sizeof (Tcl_HashTable)); Tcl_InitHashTable (doc->ids, TCL_STRING_KEYS); } h = Tcl_CreateHashEntry (doc->ids, attrnode->nodeValue, &hnew); /* How to resolve in case of dublicates? We follow, what the core dom building code does: the first value in document order wins. */ |