Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelfmz <fenix1905@tut.by>2022-02-15 02:04:14 +0300
committerelfmz <fenix1905@tut.by>2022-02-15 02:04:14 +0300
commita14bebeeaf7a003e112b3ffd71261b2f4435b83d (patch)
tree3e6b0c313a7094abd8c03e6c4dcbd2f15defe35c /far2l/src/fileattr.cpp
parentb5e5d58b43a1526bae99d5beedb276ba7c489d1a (diff)
dont use MSG() macro for Message() arguments - its not needed anymore
Diffstat (limited to 'far2l/src/fileattr.cpp')
-rw-r--r--far2l/src/fileattr.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/far2l/src/fileattr.cpp b/far2l/src/fileattr.cpp
index 5afb90b4..64efd58a 100644
--- a/far2l/src/fileattr.cpp
+++ b/far2l/src/fileattr.cpp
@@ -56,8 +56,8 @@ int ESetFileMode(const wchar_t *Name, DWORD Mode, int SkipMode)
if (SkipMode!=-1)
Code=SkipMode;
else
- Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MSG(MError),
- MSG(MSetAttrCannotFor),Name,MSG(MHRetry),MSG(MHSkip),MSG(MHSkipAll),MSG(MHCancel));
+ Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MError,
+ MSetAttrCannotFor,Name,MHRetry,MHSkip,MHSkipAll,MHCancel);
switch (Code) {
case -2:
@@ -100,9 +100,9 @@ int ESetFileTime(const wchar_t *Name, FILETIME *AccessTime, FILETIME *ModifyTime
if (SkipMode!=-1)
Code=SkipMode;
else
- Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MSG(MError),
- MSG(MSetAttrTimeCannotFor),Name,MSG(MHRetry), //BUGBUG
- MSG(MHSkip),MSG(MHSkipAll),MSG(MHCancel));
+ Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MError,
+ MSetAttrTimeCannotFor,Name,MHRetry, //BUGBUG
+ MHSkip,MHSkipAll,MHCancel);
switch (Code)
{
@@ -130,7 +130,7 @@ int ESetFileOwner(LPCWSTR Name,LPCWSTR Owner,int SkipMode)
if (SkipMode!=-1)
Code=SkipMode;
else
- Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MSG(MError),MSG(MSetAttrOwnerCannotFor),Name,MSG(MHRetry),MSG(MHSkip),MSG(MHSkipAll),MSG(MHCancel));
+ Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MError,MSetAttrOwnerCannotFor,Name,MHRetry,MHSkip,MHSkipAll,MHCancel);
if (Code==1 || Code<0)
{
@@ -161,7 +161,7 @@ int ESetFileGroup(LPCWSTR Name,LPCWSTR Group,int SkipMode)
if (SkipMode!=-1)
Code=SkipMode;
else
- Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MSG(MError),MSG(MSetAttrGroupCannotFor),Name,MSG(MHRetry),MSG(MHSkip),MSG(MHSkipAll),MSG(MHCancel));
+ Code=Message(MSG_WARNING|MSG_ERRORTYPE,4,MError,MSetAttrGroupCannotFor,Name,MHRetry,MHSkip,MHSkipAll,MHCancel);
if (Code==1 || Code<0)
{