mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Fix ellipsis in e.g. window captions
svn path=/trunk/; revision=5909
This commit is contained in:
parent
24315e0593
commit
62a4b07158
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: text.c,v 1.46 2003/08/28 13:50:49 gvg Exp $ */
|
/* $Id: text.c,v 1.47 2003/08/28 21:40:26 gvg Exp $ */
|
||||||
|
|
||||||
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
#undef WIN32_LEAN_AND_MEAN
|
||||||
|
@ -632,7 +632,7 @@ TextIntGetTextExtentPoint(PTEXTOBJ TextObj,
|
||||||
|
|
||||||
if (TotalWidth <= MaxExtent && NULL != Fit)
|
if (TotalWidth <= MaxExtent && NULL != Fit)
|
||||||
{
|
{
|
||||||
*Fit = i;
|
*Fit = i + 1;
|
||||||
}
|
}
|
||||||
if (NULL != Dx)
|
if (NULL != Dx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue