mirror of
https://github.com/zeldaret/tmc
synced 2026-05-24 15:21:09 -04:00
10 lines
233 B
C++
10 lines
233 B
C++
#include "reader.h"
|
|
#include "util.h"
|
|
#include <string>
|
|
|
|
std::string opt_param(const std::string& format, int defaultVal, int value) {
|
|
if (value != defaultVal) {
|
|
return string_format(format, value);
|
|
}
|
|
return "";
|
|
} |