Changeset 15602


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

fix feed

File:
1 edited

Legend:

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

    r15557 r15602  
    1616
    1717        if(tmpstr == NULL || ostrcmp(tmpstr, "") == 0 || ostrcmp(tmpstr, "\n") == 0)
    18                 tmpstr = ostrcat(tmpstr, "", 1, 0);
    19 
    20         lastline = textinput(_("Feed"), tmpstr);
     18                tmpstr = ostrcat(tmpstr, "000.000.000.000", 1, 0);
     19               
     20        lastline = numinput(_("Feed"), tmpstr, "000.000.000.000", 1);
    2121       
    2222        if(lastline != NULL)
    2323        {
    2424                free(tmpstr); tmpstr = NULL;
    25                 tmpstr = ostrcat(tmpstr, lastline, 1, 0);
     25                tmpstr = fixip(lastline, 1);
    2626                free(lastline); lastline = tmpstr;
    2727
     
    5555
    5656                tmpstr = ostrcat(tmpstr, lastline, 1, 0);
    57                 tmpstr = ostrcat(tmpstr, ".mynonpublic.com/svn/ipk/sh4/titan", 1, 0);
     57                tmpstr = ostrcat(tmpstr, "/svn/ipk/sh4/titan", 1, 0);
    5858                writesys(getconfig("feed", NULL), tmpstr, 0);
    5959        }
Note: See TracChangeset for help on using the changeset viewer.