Skip to content

Commit a3f6174

Browse files
copyrat90zpostfacto
authored andcommitted
Fix data type for config value SetString()
1 parent 46c0a4f commit a3f6174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/steam/steamnetworkingtypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ struct SteamNetworkingConfigValue_t
17921792
inline void SetString( ESteamNetworkingConfigValue eVal, const char *data ) // WARNING - Just saves your pointer. Does NOT make a copy of the string
17931793
{
17941794
m_eValue = eVal;
1795-
m_eDataType = k_ESteamNetworkingConfig_Ptr;
1795+
m_eDataType = k_ESteamNetworkingConfig_String;
17961796
m_val.m_string = data;
17971797
}
17981798
};

0 commit comments

Comments
 (0)