diff options
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r-- | c/episodelistview.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c index 074b459..b292725 100644 --- a/c/episodelistview.c +++ b/c/episodelistview.c @@ -169,14 +169,13 @@ ElvUpdate() t2 = T(3); PI(t2,i+1) return; tszName = NULL; - P("episode_data","lookup_episode_local",3,t2) goto skipname; - GAC(t2+1,&szName) goto skipname; + P("episode_data","lookup_episode_local",3,t2) goto ep; + GAC(t2+1,&szName) goto ep; tszName = TszFromSz(szName, CP_UTF8); if (!tszName) return; - /* Format episode string. */ -skipname: - cb = 100; + /* Format episode number string. */ + ep: cb = 100; tszEpisode = malloc(cb*sizeof(TCHAR)); if (!tszEpisode) goto e; _stprintf_s(tszEpisode, cb, TEXT("%d"), i+1); @@ -197,7 +196,7 @@ skipname: } free(tszEpisode); -e: if (tszName) free(tszName); + e: if (tszName) free(tszName); } /* Reset selection and scrolling position. */ |