From 6a998ec5d0b1e17dcbcdb05e2b9a761c9df165f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Sun, 14 Jun 2015 17:29:27 +0200 Subject: [PATCH] fix redefinition in stringrenderer.cpp (stringrenderer.h) --- training/stringrenderer.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/training/stringrenderer.cpp b/training/stringrenderer.cpp index a4f1994b4d..43c3d7efae 100644 --- a/training/stringrenderer.cpp +++ b/training/stringrenderer.cpp @@ -140,14 +140,6 @@ void StringRenderer::set_resolution(const int resolution) { font_.set_resolution(resolution); } -void StringRenderer::set_underline_start_prob(const double frac) { - underline_start_prob_ = min(max(frac, 0.0), 1.0); -} - -void StringRenderer::set_underline_continuation_prob(const double frac) { - underline_continuation_prob_ = min(max(frac, 0.0), 1.0); -} - StringRenderer::~StringRenderer() { ClearBoxes(); FreePangoCairo();