mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
dtkcmds.c: use Empty macro instead of empty string
This commit is contained in:
parent
5cec09b9f2
commit
f884dce398
1 changed files with 23 additions and 22 deletions
|
@ -57,6 +57,7 @@
|
|||
#include <Tt/tt_c.h>
|
||||
#include "hash.h"
|
||||
#include "stdio.h"
|
||||
#include "defs.h"
|
||||
#define NO_AST
|
||||
#include "dtksh.h"
|
||||
#undef NO_AST
|
||||
|
@ -7897,7 +7898,7 @@ nopCreateDisc(
|
|||
|
||||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -7940,7 +7941,7 @@ dftCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -7971,7 +7972,7 @@ ehCreateDisc(
|
|||
token = strtok(tmpBuf, ".");
|
||||
np2 = ProcessCallbackEvent(event, np, token, fp);
|
||||
XtFree(tmpBuf);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8002,7 +8003,7 @@ transCreateDisc(
|
|||
token = strtok(tmpBuf, ".");
|
||||
np2 = ProcessCallbackEvent(event, np, token, fp);
|
||||
XtFree(tmpBuf);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8042,7 +8043,7 @@ scaleCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8090,7 +8091,7 @@ arrowCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8136,7 +8137,7 @@ comboCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8185,7 +8186,7 @@ cmdCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8225,7 +8226,7 @@ dAreaCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8275,7 +8276,7 @@ dbtnCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8354,7 +8355,7 @@ fselCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8453,7 +8454,7 @@ listCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8501,7 +8502,7 @@ pbtnCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8555,7 +8556,7 @@ rcCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8602,7 +8603,7 @@ sbarCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8644,7 +8645,7 @@ swinCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8693,7 +8694,7 @@ sboxCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8733,7 +8734,7 @@ tbtnCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -8894,7 +8895,7 @@ textCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -9006,7 +9007,7 @@ textCreateDisc2(
|
|||
|
||||
XtFree(nameCopy);
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -9085,7 +9086,7 @@ helpCreateDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
@ -9125,7 +9126,7 @@ dtPrintSetupProcDisc(
|
|||
np2 = CreateEmptyNameValuePair(np, token, fp);
|
||||
|
||||
XtFree(dupName);
|
||||
fp->last = "";
|
||||
fp->last = Empty;
|
||||
return(np2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue