From 4a8e493eb7a6742b7c2a533553902685b00b0062 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Mon, 17 Oct 2011 20:56:21 +0200 Subject: [PATCH] download Fonts and Languages from Tuxfamily --- source/Prompts/prompt_font_download.cpp | 6 +++--- source/Prompts/prompt_language_download.cpp | 6 +++--- source/Prompts/prompt_theme_download.cpp | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/Prompts/prompt_font_download.cpp b/source/Prompts/prompt_font_download.cpp index fcd976e..9aae1f7 100644 --- a/source/Prompts/prompt_font_download.cpp +++ b/source/Prompts/prompt_font_download.cpp @@ -86,7 +86,7 @@ void fontDownload(string fontname) char buffer[100]; msgTxt.SetText(fontname.c_str()); - sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Fonts/%s", fontname.c_str()); + sprintf(buffer, "http://download.tuxfamily.org/hbf/Fonts/%s", fontname.c_str()); struct block file = downloadfile(buffer); if (file.data && file.size > 0 && folder_exists()) { @@ -126,7 +126,7 @@ string FontList() bool stop = false; char buffer[100]; - sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Fonts/"); + sprintf(buffer, "http://download.tuxfamily.org/hbf/Fonts/"); struct block file = downloadfile(buffer); if (file.data != NULL) @@ -373,4 +373,4 @@ string checkFontsPrompt() ResumeGui(); return downloadfont; -} \ No newline at end of file +} diff --git a/source/Prompts/prompt_language_download.cpp b/source/Prompts/prompt_language_download.cpp index f539a21..12996be 100644 --- a/source/Prompts/prompt_language_download.cpp +++ b/source/Prompts/prompt_language_download.cpp @@ -86,7 +86,7 @@ void languageDownload(string languagename) char buffer[100]; msgTxt.SetText(languagename.c_str()); - sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Languages/%s", languagename.c_str()); + sprintf(buffer, "http://download.tuxfamily.org/hbf/Languages/%s", languagename.c_str()); struct block file = downloadfile(buffer); if (file.data && file.size > 0 && folder_exists()) { @@ -126,7 +126,7 @@ string LanguageList() bool stop = false; char buffer[100]; - sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Languages/"); + sprintf(buffer, "http://download.tuxfamily.org/hbf/Languages/"); struct block file = downloadfile(buffer); if (file.data != NULL) @@ -374,4 +374,4 @@ string checkLanguagesPrompt() ResumeGui(); return downloadlanguage; -} \ No newline at end of file +} diff --git a/source/Prompts/prompt_theme_download.cpp b/source/Prompts/prompt_theme_download.cpp index fa6e1ab..588f0d3 100644 --- a/source/Prompts/prompt_theme_download.cpp +++ b/source/Prompts/prompt_theme_download.cpp @@ -85,7 +85,7 @@ void themeDownload(string themename) char buffer[100]; // download counter - sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Themes/counter.php?theme=%s", themename.c_str()); + \\sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Themes/counter.php?theme=%s", themename.c_str()); struct block file = downloadfile(buffer); sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Themes/index.php?path=Themes/%s", themename.c_str()); @@ -401,4 +401,4 @@ string checkThemesPrompt() ResumeGui(); return downloadtheme; -} \ No newline at end of file +}