Mercurial > vim
comparison src/gui_kde_x11.cc @ 44:af1bcb9a13c0
updated for version 7.0027
author | vimboss |
---|---|
date | Fri, 31 Dec 2004 20:56:11 +0000 |
parents | c75153d791d0 |
children | 388f285bda1b |
comparison
equal
deleted
inserted
replaced
43:f55897d6921d | 44:af1bcb9a13c0 |
---|---|
698 if (!myFont->fixedPitch()) | 698 if (!myFont->fixedPitch()) |
699 dbf("Non fixed-width font"); | 699 dbf("Non fixed-width font"); |
700 return (GuiFont) myFont; | 700 return (GuiFont) myFont; |
701 }//}}} | 701 }//}}} |
702 | 702 |
703 #if defined(FEAT_EVAL) || defined(PROTO) | |
703 /* | 704 /* |
704 * Return the name of font "font" in allocated memory. | 705 * Return the name of font "font" in allocated memory. |
705 * Don't know how to get the actual name, thus use the provided name. | 706 * Don't know how to get the actual name, thus use the provided name. |
706 */ | 707 */ |
707 char_u * | 708 char_u * |
709 { | 710 { |
710 if (name == NULL) | 711 if (name == NULL) |
711 return NULL; | 712 return NULL; |
712 return vim_strsave(name); | 713 return vim_strsave(name); |
713 }//}}} | 714 }//}}} |
715 #endif | |
714 | 716 |
715 /* | 717 /* |
716 * Set the current text font. | 718 * Set the current text font. |
717 * Since we create all GC on demand, we use just gui.current_font to | 719 * Since we create all GC on demand, we use just gui.current_font to |
718 * indicate the desired current font. | 720 * indicate the desired current font. |