Minor Linux fixes (thanks Azzy)

Originally committed to SVN as r539.
This commit is contained in:
Niels Martin Hansen 2006-10-23 22:17:27 +00:00
parent fc531f7e7f
commit 407cd603b2
3 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,6 @@ aegisub_SOURCES = about.cpp \
audio_provider_lavc.cpp \
audio_provider_ram.cpp \
audio_provider_stream.cpp \
auto4_base.cpp \
automation.cpp \
automation_filter.cpp \
automation_gui.cpp \

View file

@ -80,7 +80,7 @@ void AssFile::Load (const wxString _filename,const wxString charset) {
#ifdef WIN32
file = _tfopen(_filename.c_str(), _T("r"));
#else
file = fopen(_filrname.mb_str(wxConvFileName), "r");
file = fopen(_filename.mb_str(*wxConvFileName), "r");
#endif
if (!file) {
throw _T("Unable to open file \"") + _filename + _T("\". Check if it exists and if you have permissions to read it.");

View file

@ -138,6 +138,7 @@ void VideoDisplay::UpdateSize() {
h = provider->GetHeight();
// Set the size for this control
SetSizeHints(w,h,w,h);
SetClientSize(w,h);
int _w,_h;
GetSize(&_w,&_h);