From 9bb649b5e207c7f608c60f65eb94e62b532135fb Mon Sep 17 00:00:00 2001
From: yellows8 <yellows8@users.noreply.github.com>
Date: Tue, 24 Apr 2018 14:08:12 -0400
Subject: [PATCH] plFontData -> PlFontData and fixed @file in pl.h.

---
 nx/include/switch/services/pl.h | 6 +++---
 nx/source/services/pl.c         | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/nx/include/switch/services/pl.h b/nx/include/switch/services/pl.h
index da500921..62547245 100644
--- a/nx/include/switch/services/pl.h
+++ b/nx/include/switch/services/pl.h
@@ -1,5 +1,5 @@
 /**
- * @file plu.h
+ * @file pl.h
  * @brief pl:u service IPC wrapper.
  * @author yellows8
  * @copyright libnx Authors
@@ -23,12 +23,12 @@ typedef struct {
     u32 offset;
     u32 size;
     void* address;
-} plFontData;
+} PlFontData;
 
 Result plInitialize(void);
 void plExit(void);
 void* plGetSharedmemAddr(void);
 
 ///< Gets shared font(s).
-Result plGetSharedFont(u64 LanguageCode, plFontData* fonts, size_t max_fonts, size_t* total_fonts);
+Result plGetSharedFont(u64 LanguageCode, PlFontData* fonts, size_t max_fonts, size_t* total_fonts);
 
diff --git a/nx/source/services/pl.c b/nx/source/services/pl.c
index 560cec82..ca83d03e 100644
--- a/nx/source/services/pl.c
+++ b/nx/source/services/pl.c
@@ -92,7 +92,7 @@ static Result _plGetSharedMemoryNativeHandle(Handle* handle_out) {
     return rc;
 }
 
-Result plGetSharedFont(u64 LanguageCode, plFontData* fonts, size_t max_fonts, size_t* total_fonts) {
+Result plGetSharedFont(u64 LanguageCode, PlFontData* fonts, size_t max_fonts, size_t* total_fonts) {
     u32 types[PlSharedFontType_Total];
     u32 offsets[PlSharedFontType_Total];
     u32 sizes[PlSharedFontType_Total];
@@ -109,7 +109,7 @@ Result plGetSharedFont(u64 LanguageCode, plFontData* fonts, size_t max_fonts, si
     memset(types, 0, sizeof(types));
     memset(offsets, 0, sizeof(offsets));
     memset(sizes, 0, sizeof(sizes));
-    memset(fonts, 0, sizeof(plFontData) * max_fonts);
+    memset(fonts, 0, sizeof(PlFontData) * max_fonts);
 
     if (total_fonts) *total_fonts = 0;