Subversion Repositories Kolibri OS

Rev

Rev 2109 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2109 Rev 2152
Line 15... Line 15...
15
 int i;
15
 int i;
Line 16... Line 16...
16
 
16
 
17
 char download_path[]="/rd/1/.download";
17
 char download_path[]="/rd/1/.download";
18
//char search_path[]="http://nova.rambler.ru/search?words=";
18
//char search_path[]="http://nova.rambler.ru/search?words=";
19
 char search_path[]="http://nigma.ru/index.php?s=";
19
 char search_path[]="http://nigma.ru/index.php?s=";
Line 20... Line 20...
20
 char version[]=" Text-based Browser 23.67";
20
 char version[]=" Text-based Browser 23.68";
21
 
21
 
22
 
22
 
Line 511... Line 511...
511
			IF(text_color_index > 0) text_color_index--;
511
			IF(text_color_index > 0) text_color_index--;
512
		}
512
		}
513
		return;
513
		return;
514
	}
514
	}
515
	/////////////////////////
515
	/////////////////////////
516
	if (!chTag("font")) {
516
	if (!chTag("font"))
-
 
517
	{
517
		IF(stroka <= 0) && (stroka - 1 > max_kolvo_strok) return;
518
		IF(stroka < 0) || (stroka - 1 > max_kolvo_strok) return;
-
 
519
		COL_MARK:
518
		COL_MARK: IF(strcmp(#parametr, "color=") == 0) //&& (parametr[1] == '#')
520
		if (strcmp(#parametr, "color=") == 0) //&& (parametr[1] == '#')
519
		{
521
		{
520
      text_color_index++;
522
			text_color_index++;
521
      IF (options[0] == '#'){
523
			IF (options[0] == '#')
-
 
524
			{
522
        text_colors[text_color_index] = StrToCol(#options);
525
				text_colors[text_color_index] = StrToCol(#options);
523
			}
526
			}
524
			ELSE {
527
			ELSE
-
 
528
			{
525
             FOR (i=0;color_names[i]!=0;i++){
529
				FOR (i=0; color_names[i]!=0; i++)
-
 
530
				{
-
 
531
					IF(!strcmp(#options, color_names[i]))
-
 
532
					{
526
              IF(!strcmp(#options, color_names[i])) {text_colors[text_color_index] = colors[i]; BREAK;}
533
						text_colors[text_color_index] = colors[i];
-
 
534
						BREAK;
-
 
535
					}
-
 
536
					text_colors[text_color_index] = text_colors[0];
527
            }
537
				}
528
          }
538
			}
Line 529... Line 539...
529
			
539
			
530
		}
540
		}