From 58f9c5fef6c629d6e3dec87a08668efc49f3d3ee Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 15 Jul 1996 07:34:45 +0000 Subject: [PATCH] Utilizzato un real al posto di un double nel calcolo del rapporto di conversione tra caratteri git-svn-id: svn://10.65.10.50/trunk@3186 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/form.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/form.cpp b/include/form.cpp index c64bc5c46..b98ba4a21 100755 --- a/include/form.cpp +++ b/include/form.cpp @@ -2338,7 +2338,7 @@ typedef struct { char name_2[80]; // Fontname new int size_1; // size (height) of old font int size_2; // size (height) of new font - double ratio; // ratio (width_old_font/width_new_font) + real ratio; // ratio (width_old_font/width_new_font) } s_data; BOOLEAN XVT_CALLCONV1 wpr (long data) @@ -2397,7 +2397,7 @@ void TPrint_section::repos_fields(const char* name, int size) if (rm.run() == K_ENTER) { ratio = rm.get_real(DLG_USER); - prm.ratio = (double)ratio; + prm.ratio = ratio; } }