Mercurial > vim
comparison src/gui_riscos.c @ 1738:1ddec6983d9e v7.2.036
updated for version 7.2-036
author | vimboss |
---|---|
date | Wed, 12 Nov 2008 12:36:30 +0000 |
parents | 4d2585cf5950 |
children | b941cc96926a |
comparison
equal
deleted
inserted
replaced
1737:8272535dee77 | 1738:1ddec6983d9e |
---|---|
693 | 693 |
694 void | 694 void |
695 gui_mch_set_shellsize(width, height, min_width, min_height, base_width, base_height, direction) | 695 gui_mch_set_shellsize(width, height, min_width, min_height, base_width, base_height, direction) |
696 int width; /* In OS units */ | 696 int width; /* In OS units */ |
697 int height; | 697 int height; |
698 int min_width; /* Smallest permissable window size (ignored) */ | 698 int min_width; /* Smallest permissible window size (ignored) */ |
699 int min_height; | 699 int min_height; |
700 int base_width; /* Space for scroll bars, etc */ | 700 int base_width; /* Space for scroll bars, etc */ |
701 int base_height; | 701 int base_height; |
702 int direction; | 702 int direction; |
703 { | 703 { |
861 return NULL; /* Unable to load file */ | 861 return NULL; /* Unable to load file */ |
862 | 862 |
863 if (strncmp(file, "ZapFont\015", 8) == 0) | 863 if (strncmp(file, "ZapFont\015", 8) == 0) |
864 return file; /* Loaded OK! */ | 864 return file; /* Loaded OK! */ |
865 | 865 |
866 free(file); | 866 vim_free(file); |
867 return NULL; /* Not a valid font file */ | 867 return NULL; /* Not a valid font file */ |
868 } | 868 } |
869 | 869 |
870 /* Load and convert the named font. | 870 /* Load and convert the named font. |
871 * If name is NULL or a null string then convert the system font. | 871 * If name is NULL or a null string then convert the system font. |