mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 02:46:34 +08:00
Fix documentation URL's
This commit is contained in:
+4
-4
@@ -942,17 +942,17 @@ void show_help(const char *name) {
|
|||||||
"the <code>.cxx</code> file so it still appears to be a single source file.<p>"
|
"the <code>.cxx</code> file so it still appears to be a single source file.<p>"
|
||||||
"<img src=\"embedded:/fluid-org.png\"></p>"
|
"<img src=\"embedded:/fluid-org.png\"></p>"
|
||||||
"<p>More information is available online at <a href="
|
"<p>More information is available online at <a href="
|
||||||
"\"http://www.fltk.org/doc-1.3/fluid.html\">http://www.fltk.org/</a>"
|
"\"https://www.fltk.org/doc-1.4/fluid.html\">https://www.fltk.org/</a>"
|
||||||
"</body></html>"
|
"</body></html>"
|
||||||
);
|
);
|
||||||
} else if (strcmp(name, "license.html")==0) {
|
} else if (strcmp(name, "license.html")==0) {
|
||||||
fl_open_uri("http://www.fltk.org/doc-1.3/license.html");
|
fl_open_uri("https://www.fltk.org/doc-1.4/license.html");
|
||||||
return;
|
return;
|
||||||
} else if (strcmp(name, "index.html")==0) {
|
} else if (strcmp(name, "index.html")==0) {
|
||||||
fl_open_uri("http://www.fltk.org/doc-1.3/index.html");
|
fl_open_uri("https://www.fltk.org/doc-1.4/index.html");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
snprintf(helpname, sizeof(helpname), "http://www.fltk.org/%s", name);
|
snprintf(helpname, sizeof(helpname), "https://www.fltk.org/%s", name);
|
||||||
fl_open_uri(helpname);
|
fl_open_uri(helpname);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user