diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/UI/GUI/CompressDialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CPP/7zip/UI/GUI/CompressDialog.cpp b/CPP/7zip/UI/GUI/CompressDialog.cpp index 25b9219..b85ae1e 100644 --- a/CPP/7zip/UI/GUI/CompressDialog.cpp +++ b/CPP/7zip/UI/GUI/CompressDialog.cpp | |||
@@ -292,6 +292,7 @@ static const CFormatInfo g_Formats[] = | |||
292 | "Tar", | 292 | "Tar", |
293 | (1 << 0), | 293 | (1 << 0), |
294 | METHODS_PAIR(g_TarMethods), | 294 | METHODS_PAIR(g_TarMethods), |
295 | 0 | ||
295 | // kFF_Time_Unix | kFF_Time_Win // | kFF_Time_1ns | 296 | // kFF_Time_Unix | kFF_Time_Win // | kFF_Time_1ns |
296 | }, | 297 | }, |
297 | { | 298 | { |
@@ -596,7 +597,6 @@ void CCompressDialog::EnableMultiCombo(unsigned id) | |||
596 | } | 597 | } |
597 | 598 | ||
598 | static LRESULT ComboBox_AddStringAscii(NControl::CComboBox &cb, const char *s); | 599 | static LRESULT ComboBox_AddStringAscii(NControl::CComboBox &cb, const char *s); |
599 | static void FormatOptions_To_String(const NCompression::CFormatOptions &fo, AString &s); | ||
600 | 600 | ||
601 | static void Combine_Two_BoolPairs(const CBoolPair &b1, const CBoolPair &b2, CBool1 &res) | 601 | static void Combine_Two_BoolPairs(const CBoolPair &b1, const CBoolPair &b2, CBool1 &res) |
602 | { | 602 | { |
@@ -607,7 +607,7 @@ static void Combine_Two_BoolPairs(const CBoolPair &b1, const CBoolPair &b2, CBoo | |||
607 | } | 607 | } |
608 | 608 | ||
609 | #define SET_GUI_BOOL(name) \ | 609 | #define SET_GUI_BOOL(name) \ |
610 | Combine_Two_BoolPairs(Info. ## name, m_RegistryInfo. ## name, name) | 610 | Combine_Two_BoolPairs(Info. name, m_RegistryInfo. name, name) |
611 | 611 | ||
612 | 612 | ||
613 | static void Set_Final_BoolPairs( | 613 | static void Set_Final_BoolPairs( |
@@ -630,7 +630,7 @@ static void Set_Final_BoolPairs( | |||
630 | } | 630 | } |
631 | 631 | ||
632 | #define SET_FINAL_BOOL_PAIRS(name) \ | 632 | #define SET_FINAL_BOOL_PAIRS(name) \ |
633 | Set_Final_BoolPairs(name, Info. ## name, m_RegistryInfo. ## name) | 633 | Set_Final_BoolPairs(name, Info. name, m_RegistryInfo. name) |
634 | 634 | ||
635 | void CCompressDialog::FormatChanged(bool isChanged) | 635 | void CCompressDialog::FormatChanged(bool isChanged) |
636 | { | 636 | { |
@@ -2711,7 +2711,7 @@ void CCompressDialog::ShowOptionsString() | |||
2711 | NCompression::CFormatOptions &fo = Get_FormatOptions(); | 2711 | NCompression::CFormatOptions &fo = Get_FormatOptions(); |
2712 | 2712 | ||
2713 | AString s; | 2713 | AString s; |
2714 | if (fo.TimePrec != -1) | 2714 | if (fo.IsSet_TimePrec()) |
2715 | { | 2715 | { |
2716 | s.Add_OptSpaced("tp"); | 2716 | s.Add_OptSpaced("tp"); |
2717 | s.Add_UInt32(fo.TimePrec); | 2717 | s.Add_UInt32(fo.TimePrec); |