From 47c1db98ce3f05066aa1fbf41ced9c2db39d5028 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 13 Oct 2008 20:03:21 +0000 Subject: [PATCH] fixed screen update in loadfile screen when opening an empty directory (or with little number of files) git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@247 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- boutons.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boutons.c b/boutons.c index 9b6660e5..13fd3418 100644 --- a/boutons.c +++ b/boutons.c @@ -2226,6 +2226,8 @@ void Preparer_et_afficher_liste_fichiers(short Position, short Decalage, // On affiche les nouveaux: Afficher_la_liste_des_fichiers(Position,Decalage); + SDL_UpdateRect(Ecran_SDL,Fenetre_Pos_X+(Menu_Facteur_X<<3),Fenetre_Pos_Y+(Menu_Facteur_Y*(89+FILENAMESPACE)),Menu_Facteur_X*98,Menu_Facteur_Y*82); + // On récupère le nom du schmilblick à "accéder" Determiner_element_de_la_liste(Position,Decalage,Principal_Nom_fichier); // On affiche le nouveau nom de fichier