Changeset 15603


Ignore:
Timestamp:
May 9, 2012, 11:16:38 AM (8 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/panel/panel_feed.h

    r15602 r15603  
    1515                pos[0] = '\0';
    1616
    17         if(tmpstr == NULL || ostrcmp(tmpstr, "") == 0 || ostrcmp(tmpstr, "\n") == 0)
    18                 tmpstr = ostrcat(tmpstr, "000.000.000.000", 1, 0);
    19                
    20         lastline = numinput(_("Feed"), tmpstr, "000.000.000.000", 1);
    21        
     17//      if(tmpstr == NULL || ostrcmp(tmpstr, "") == 0 || ostrcmp(tmpstr, "\n") == 0)
     18//              tmpstr = ostrcat(tmpstr, "000.000.000.000", 1, 0);
     19
     20        lastline = textinput(_("Feed"), tmpstr);               
     21//      lastline = numinput(_("Feed"), tmpstr, "000.000.000.000", 1);
     22        if(lastline != NULL && strstr(lastline, ".mynonpublic.com") == NULL)
     23                lastline = ostrcat(lastline, ".mynonpublic.com", 1, 0);
     24
    2225        if(lastline != NULL)
    2326        {
Note: See TracChangeset for help on using the changeset viewer.