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
This commit is contained in:
parent
aa62a48d4a
commit
58f9c5fef6
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user