Rev 7043 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7043 | Rev 7056 | ||
---|---|---|---|
Line 293... | Line 293... | ||
293 | cur_encoding = CH_UTF8; |
293 | cur_encoding = CH_UTF8; |
294 | debugln("Document has no information about encoding, UTF will be used"); |
294 | debugln("Document has no information about encoding, UTF will be used"); |
295 | } |
295 | } |
296 | if (opened) { |
296 | if (opened) { |
297 | ChangeCharset(charsets[cur_encoding], "CP866", #header); |
297 | if (!strcmp(#header, #version)) { |
- | 298 | ChangeCharset(charsets[cur_encoding], "CP866", #header); |
|
298 | sprintf(#header, "%s - %s", #header, #version); |
299 | sprintf(#header, "%s - %s", #header, #version); |
299 | DrawTitle(#header); |
300 | } |
- | 301 | DrawTitle(#header); |
|
300 | } |
302 | } |
301 | return; |
303 | return; |
302 | } |
304 | } |
303 | if (istag("a")) { |
305 | if (istag("a")) { |
304 | if (opened) |
306 | if (opened) |