[Fix] Fixed your shipyard information getting cut off.

This commit is contained in:
Allanis 2014-03-07 20:20:45 +00:00
parent afb05bf6f4
commit c060057574

View File

@ -735,7 +735,7 @@ static void shipyard_yours_open(unsigned int parent, char* str) {
/* Text. */ /* Text. */
window_addText(wid, 40+300+40, -55, window_addText(wid, 40+300+40, -55,
100, 96, 0, "txtSDesc", &gl_smallFont, &cDConsole, 100, 200, 0, "txtSDesc", &gl_smallFont, &cDConsole,
"Name:\n" "Name:\n"
"Ship:\n" "Ship:\n"
"Class:\n" "Class:\n"
@ -748,13 +748,13 @@ static void shipyard_yours_open(unsigned int parent, char* str) {
"Sell price\n"); "Sell price\n");
window_addText(wid, 40+300+40+100, -55, window_addText(wid, 40+300+40+100, -55,
130, 96, 0, "txtDDesc", &gl_smallFont, &cBlack, NULL); 130, 200, 0, "txtDDesc", &gl_smallFont, &cBlack, NULL);
window_addText(wid, 40+300+40, -215, window_addText(wid, 40+300+40, -255,
100, 20, 0, "txtSOutfits", &gl_smallFont, &cDConsole, 100, 20, 0, "txtSOutfits", &gl_smallFont, &cDConsole,
"Outfits:\n"); "Outfits:\n");
window_addText(wid, 40+300+40, -215-gl_smallFont.h-5, window_addText(wid, 40+300+40, -255-gl_smallFont.h-5,
SHIPYARD_WIDTH-40-300-40-20, 200, 0, "txtDOutfits", SHIPYARD_WIDTH-40-300-40-20, 200, 0, "txtDOutfits",
&gl_smallFont, &cBlack, NULL); &gl_smallFont, &cBlack, NULL);