diff --git a/yg/pen_info.cpp b/yg/pen_info.cpp index 09ebcf6ffb..149f1c88c5 100644 --- a/yg/pen_info.cpp +++ b/yg/pen_info.cpp @@ -28,7 +28,7 @@ namespace yg length += vec[i]; } - int periods = min(20, max(int(64 / length), 1)); + int periods = max(int(256 / length), 1); m_pat.reserve(periods * vec.size()); for (int i = 0; i < periods; ++i) copy(vec.begin(), vec.end(), back_inserter(m_pat));