Skip to content

Commit

Permalink
[gui_save] Don't prefill job name with MSVC for now to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
eumagga0x2a committed Apr 3, 2019
1 parent ae09c41 commit 0bffbbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion avidemux/common/gui_save.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ void HandleAction_Save(Action action)
}else
{
std::string oFile;
#if !defined(_MSC_VER)
std::string text;
char timestamp[32];
uint64_t ss=ADM_getSecondsSinceEpoch();
Expand All @@ -131,7 +132,9 @@ void HandleAction_Save(Action action)
else
text+=std::string("UNKNOWN");
char *oText=ADM_strdup(text.c_str());

#else
char *oText=NULL;
#endif
diaElemFile wFile(1,oFile,QT_TRANSLATE_NOOP("adm","Output file"),"");
diaElemText wText(&oText,QT_TRANSLATE_NOOP("adm","Job name"));
diaElem *elems[2]={&wText,&wFile};
Expand Down

0 comments on commit 0bffbbb

Please sign in to comment.