projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes and upgrades to guicast
[goodguy/history.git]
/
cinelerra-5.0
/
guicast
/
bctextbox.C
diff --git
a/cinelerra-5.0/guicast/bctextbox.C
b/cinelerra-5.0/guicast/bctextbox.C
index cab6866429f0375cb40b9a6146bbb5b9e9396b4c..12f32b85a02453717ab8f5a17676ea98c0eec8aa 100644
(file)
--- a/
cinelerra-5.0/guicast/bctextbox.C
+++ b/
cinelerra-5.0/guicast/bctextbox.C
@@
-101,7
+101,7
@@
BC_TextBox::BC_TextBox(int x, int y, int w, int rows,
is_utf8 = 1;
skip_cursor = 0;
reset_parameters(rows, has_border, font, BCSTRLEN);
is_utf8 = 1;
skip_cursor = 0;
reset_parameters(rows, has_border, font, BCSTRLEN);
- snprintf(this->text, this->tsize,
_LD
, text);
+ snprintf(this->text, this->tsize,
"%jd"
, text);
dirty = 1; wtext_update();
}
dirty = 1; wtext_update();
}
@@
-514,7
+514,7
@@
int BC_TextBox::update(const wchar_t *wtext)
int BC_TextBox::update(int64_t value)
{
char string[BCTEXTLEN];
int BC_TextBox::update(int64_t value)
{
char string[BCTEXTLEN];
- sprintf(string,
_LD
, value);
+ sprintf(string,
"%jd"
, value);
update(string);
return 0;
}
update(string);
return 0;
}