>
<Tool
Name="VCPreBuildEventTool"
+ CommandLine=""$(ProjectDir)\etc\Utilities\AutoInc.exe" "VER_LAMEXP_BUILD" "$(ProjectDir)\src\Config.h""
/>
<Tool
Name="VCCustomBuildTool"
>
<Tool
Name="VCPreBuildEventTool"
+ CommandLine=""$(ProjectDir)\etc\Utilities\AutoInc.exe" "VER_LAMEXP_BUILD" "$(ProjectDir)\src\Config.h""
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCPostBuildEventTool"
- CommandLine=""
+ CommandLine="
"
/>
</Configuration>
</Configurations>
#define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 0
-#define VER_LAMEXP_BUILD 12
+#define VER_LAMEXP_BUILD 17
#define VER_LAMEXP_SUFFIX TechPreview
/*
{
QTime time;
+ time = QTime::fromString(str, "z'ms'");
+ if(time.isValid())
+ {
+ return max(1, (time.hour() * 60 * 60) + (time.minute() * 60) + time.second());
+ }
+
time = QTime::fromString(str, "s's 'z'ms'");
if(time.isValid())
{
- return (time.hour() * 60 * 60) + (time.minute() * 60) + time.second();
+ return max(1, (time.hour() * 60 * 60) + (time.minute() * 60) + time.second());
}
time = QTime::fromString(str, "m'mn 's's'");
if(time.isValid())
{
- return (time.hour() * 60 * 60) + (time.minute() * 60) + time.second();
+ return max(1, (time.hour() * 60 * 60) + (time.minute() * 60) + time.second());
}
time = QTime::fromString(str, "h'h 'm'mn'");
if(time.isValid())
{
- return (time.hour() * 60 * 60) + (time.minute() * 60) + time.second();
+ return max(1, (time.hour() * 60 * 60) + (time.minute() * 60) + time.second());
}
return 0;