Rev 3129 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3129 | Rev 3363 | ||
---|---|---|---|
Line 473... | Line 473... | ||
473 | { |
473 | { |
474 | if (line[strlen(#line)-1]==' ') break; //óáðàòü 2 ïðîáåëà ïîäðÿä |
474 | if (line[strlen(#line)-1]==' ') break; //óáðàòü 2 ïðîáåëà ïîäðÿä |
475 | if (!stolbec) && (!line) break; //ñòðîêà íå ìîæåò íà÷èíàòüñÿ ñ ïðîáåëà |
475 | if (!stolbec) && (!line) break; //ñòðîêà íå ìîæåò íà÷èíàòüñÿ ñ ïðîáåëà |
476 | } |
476 | } |
477 | if (strlen(#line) |
477 | if (strlen(#line) |
478 | 478 | ||
Line 479... | Line 479... | ||
479 | if (stolbec + strlen(#line) > lines.column_max) |
479 | if (stolbec + strlen(#line) > lines.column_max) |
480 | { |
480 | { |
481 | NEXT_MARK: |
481 | NEXT_MARK: |
482 | perenos_num = strrchr(#line, ' '); |
482 | perenos_num = strrchr(#line, ' '); |
Line 826... | Line 826... | ||
826 | dword image; |
826 | dword image; |
827 | char img_path[4096], alt[4096]; |
827 | char img_path[4096], alt[4096]; |
828 | int w=0, h=0, img_lines_first=0, cur_pic=0; |
828 | int w=0, h=0, img_lines_first=0, cur_pic=0; |
829 | 829 | ||
Line 830... | Line -... | ||
830 | if (GetFileInfo(libimg)<>0) return; //åñëè áèáëèîòåêè íåò |
- | |
831 | do{ |
830 | do{ |
832 | if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl() |
831 | if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl() |
833 | { |
832 | { |
834 | if (downloader_id) strcpy(#img_path, #history_list[history_current-1].Item); |
833 | if (downloader_id) strcpy(#img_path, #history_list[history_current-1].Item); |
835 | else strcpy(#img_path, BrowserHistory.CurrentUrl()); //äîñòà¸ì àäðåñ òåêóùåé ñòðàíèöû |
834 | else strcpy(#img_path, BrowserHistory.CurrentUrl()); //äîñòà¸ì àäðåñ òåêóùåé ñòðàíèöû |