Wed Oct 6 12:07:04 PDT 1999
(Mandrake) a couple of unused parameters should be fixed here (no more warnings I can see) SVN revision: 684
This commit is contained in:
parent
4ba90458ae
commit
3c0f6678c1
|
@ -3127,3 +3127,10 @@ Wed Oct 6 11:11:19 PDT 1999
|
|||
(Raster)
|
||||
|
||||
images for mousewheel added :)
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Wed Oct 6 12:07:04 PDT 1999
|
||||
(Mandrake)
|
||||
|
||||
a couple of unused parameters should be fixed here (no more warnings I can see)
|
||||
|
|
|
@ -2420,6 +2420,7 @@ AddBorderPart(Border * b, ImageClass * iclass, ActionClass * aclass,
|
|||
b->num_winparts++;
|
||||
n = b->num_winparts;
|
||||
|
||||
isregion = 0;
|
||||
if (!b->part)
|
||||
{
|
||||
b->part = Emalloc(n * sizeof(WinPart));
|
||||
|
|
58
src/config.c
58
src/config.c
|
@ -34,7 +34,7 @@ SkipTillEnd(ConfigFile);\
|
|||
return;\
|
||||
}
|
||||
|
||||
static void
|
||||
static void
|
||||
SkipTillEnd(FILE * ConfigFile)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX];
|
||||
|
@ -80,7 +80,6 @@ GetLine(char *s, int size, FILE * f)
|
|||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
ret = fgets(s, size, f);
|
||||
|
||||
if (strlen(s) > 0)
|
||||
|
@ -155,7 +154,6 @@ GetLine(char *s, int size, FILE * f)
|
|||
s[j + 1] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
i = 0;
|
||||
ss = s;
|
||||
while (s[i])
|
||||
|
@ -202,11 +200,10 @@ GetLine(char *s, int size, FILE * f)
|
|||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Text(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -371,7 +368,7 @@ Config_Text(FILE * ConfigFile)
|
|||
"Done loading a text block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Slideout(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -448,7 +445,7 @@ Config_Slideout(FILE * ConfigFile)
|
|||
"Done loading a Slideout block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Control(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -722,7 +719,7 @@ Config_Control(FILE * ConfigFile)
|
|||
"Done loading a Control block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_MenuStyle(FILE * ConfigFile)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX];
|
||||
|
@ -832,7 +829,7 @@ Config_MenuStyle(FILE * ConfigFile)
|
|||
"Done loading a Menu block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Menu(FILE * ConfigFile)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX];
|
||||
|
@ -1066,7 +1063,7 @@ Config_Menu(FILE * ConfigFile)
|
|||
"Done loading a Menu block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
BorderPartLoad(FILE * ConfigFile, char type, Border * b)
|
||||
{
|
||||
|
||||
|
@ -1089,6 +1086,7 @@ BorderPartLoad(FILE * ConfigFile, char type, Border * b)
|
|||
int bxp = 0, bxa = 0, byp = 0, bya = 0;
|
||||
int fields;
|
||||
|
||||
type = 0;
|
||||
while (GetLine(s, sizeof(s), ConfigFile))
|
||||
{
|
||||
s2[0] = 0;
|
||||
|
@ -1201,7 +1199,7 @@ BorderPartLoad(FILE * ConfigFile, char type, Border * b)
|
|||
"Done loading a BorderPart block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Border(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -1290,7 +1288,7 @@ Config_Border(FILE * ConfigFile)
|
|||
"Done loading a Main Border block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Button(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -1509,7 +1507,7 @@ Config_Button(FILE * ConfigFile)
|
|||
return;
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Desktop(FILE * ConfigFile)
|
||||
{
|
||||
/* this sets desktop settings */
|
||||
|
@ -1765,7 +1763,7 @@ Config_Desktop(FILE * ConfigFile)
|
|||
return;
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_ECursor(FILE * ConfigFile)
|
||||
{
|
||||
ImlibColor icl, icl2;
|
||||
|
@ -1841,7 +1839,7 @@ Config_ECursor(FILE * ConfigFile)
|
|||
"Done loading a Desktop block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Iconbox(FILE * ConfigFile)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX];
|
||||
|
@ -1883,7 +1881,7 @@ Config_Iconbox(FILE * ConfigFile)
|
|||
"Done loading an Iconbox block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Sound(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -1918,7 +1916,7 @@ Config_Sound(FILE * ConfigFile)
|
|||
"Done loading an Sound block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_ActionClass(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -2180,7 +2178,7 @@ Config_ActionClass(FILE * ConfigFile)
|
|||
"Done loading an Action Class block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_ImageClass(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -2385,7 +2383,7 @@ Config_ImageClass(FILE * ConfigFile)
|
|||
"Done loading an ImageClass block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_ColorModifier(FILE * ConfigFile)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX];
|
||||
|
@ -2652,7 +2650,7 @@ Config_ColorModifier(FILE * ConfigFile)
|
|||
return;
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_ToolTip(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -2750,7 +2748,7 @@ Config_ToolTip(FILE * ConfigFile)
|
|||
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_FX(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -2787,7 +2785,7 @@ Config_FX(FILE * ConfigFile)
|
|||
"Done loading an FX block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Extras(FILE * ConfigFile)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX];
|
||||
|
@ -2831,7 +2829,7 @@ Config_Extras(FILE * ConfigFile)
|
|||
"Done loading an Extras block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_Ibox(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -2925,7 +2923,7 @@ Config_Ibox(FILE * ConfigFile)
|
|||
"Done loading an Iconbox block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
Config_WindowMatch(FILE * ConfigFile)
|
||||
{
|
||||
|
||||
|
@ -3040,7 +3038,7 @@ Config_WindowMatch(FILE * ConfigFile)
|
|||
"Done loading an WindowMatch block. Outcome is likely not good.\n");
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
IsWhitespace(const char *s)
|
||||
{
|
||||
int i = 0;
|
||||
|
@ -3151,7 +3149,7 @@ OpenConfigFileForReading(char *path, char preprocess)
|
|||
EDBUG_RETURN(0);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
LoadConfigFile(char *f)
|
||||
{
|
||||
FILE *ConfigFile;
|
||||
|
@ -3209,7 +3207,7 @@ LoadConfigFile(char *f)
|
|||
}
|
||||
|
||||
/* Split the process of finding the file from the process of loading it */
|
||||
int
|
||||
int
|
||||
LoadOpenConfigFile(FILE * ConfigFile)
|
||||
{
|
||||
int i1, i2, fields;
|
||||
|
@ -3446,7 +3444,7 @@ FindNoThemeFile(char *file)
|
|||
EDBUG_RETURN(NULL);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
LoadEConfig(char *themelocation)
|
||||
{
|
||||
char s[FILEPATH_LEN_MAX], ss[FILEPATH_LEN_MAX];
|
||||
|
@ -3590,7 +3588,7 @@ LoadEConfig(char *themelocation)
|
|||
/**************************************************************************/
|
||||
|
||||
/* This is only called by the master_pid process (see session.c) */
|
||||
void
|
||||
void
|
||||
SaveUserControlConfig(FILE * autosavefile)
|
||||
{
|
||||
Button **blst;
|
||||
|
@ -3960,7 +3958,7 @@ SaveUserControlConfig(FILE * autosavefile)
|
|||
EDBUG_RETURN_;
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
RecoverUserConfig(void)
|
||||
{
|
||||
if (is_autosave)
|
||||
|
|
Loading…
Reference in New Issue