Rev 4493 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4493 | Rev 4540 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | int w=0, h=0, img_lines_first=0, cur_pic=0; |
41 | int w=0, h=0, img_lines_first=0, cur_pic=0; |
Line 42... | Line 42... | ||
42 | 42 | ||
43 | do{ |
43 | do{ |
44 | if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl() |
44 | if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl() |
45 | { |
45 | { |
46 | if (downloader_id) strcpy(#img_path, #history_list[history_current-1].Item); |
46 | //if (downloader_id) strcpy(#img_path, #history_list[history_current-1].Item); else |
47 | else strcpy(#img_path, BrowserHistory.CurrentUrl()); //äîñòà¸ì àäðåñ òåêóùåé ñòðàíèöû |
- | |
48 | 47 | strcpy(#img_path, BrowserHistory.CurrentUrl()); |
|
49 | if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0) |
48 | if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0) |
50 | { |
49 | { |
51 | //get path: absolute or relative |
50 | //get path: absolute or relative |
52 | if (options[0]=='/') |
51 | if (options[0]=='/') |